Pythonwin - breaking out of infinite loop
Aahz
aahz at pythoncraft.com
Thu Jan 29 12:02:28 EST 2004
In article <40193737$0$13350$ed9e5944 at reading.news.pipex.net>,
Graham <gsmith at oxfam.org.uk> wrote:
>
>How do I stop a Python program running in PythinWin? I would expect to be
>able to use CTR-C or CTRL-break etc.
That should work, but there are some oddball cases where Python won't
check for the signal. Here's a simple example:
while 1:
pass
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death." --GvR
More information about the Python-list
mailing list