Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Terminating python script easily
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Gabriel Genellina, post: 3963590"] En Thu, 22 Oct 2009 10:03:51 -0300, Bahadir Balban Note that KeyboardInterrupt (the exception generated by pressing ^C) may be catched (sometimes inadvertedly) if the code uses a bare 'except' clause, and then the program continues normally, effectively ignoring ^C. The most generic 'except' clause should be, normally: try: ... except Exception: ... [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Terminating python script easily
Top