hey guys,
Got another question:
in C programming etc we can stop an execution of say an infinite look by pressing Ctrl+C.
What's the equivalent in python? i'm using the IDLE GUI. I've found myself in situations where its running a never ending long task which i want to stall, but i just dont know how, and it ends up with my python crashing or having to restart it...
mitsuevo 0 Newbie Poster
Recommended Answers
Jump to PostYou can stop using IDLE and just run your code in the console, which retains the usage of Ctrl+C (I believe that IDLE tries to catch Ctrl+C)
All 3 Replies
Gribouillis 1,391 Programming Explorer Team Colleague
mitsuevo 0 Newbie Poster
jlm699 320 Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.