FW: [python-win32] Stopping a program in PythonWin?

Mark Hammond mhammond@skippinet.com.au
Fri, 9 Aug 2002 14:20:35 +1000


Oops - forgot to CC the list

-----Original Message-----
From: Mark Hammond [mailto:mhammond@skippinet.com.au]
Sent: Thursday, 8 August 2002 2:20 PM
To: Blair Hall
Subject: RE: [python-win32] Stopping a program in PythonWin?


Right-click on the Pythonwin icon in the taskbar, and select "Break into
running code"

MArk.

> -----Original Message-----
> From: python-win32-admin@python.org
> [mailto:python-win32-admin@python.org]On Behalf Of Blair Hall
> Sent: Thursday, 8 August 2002 12:40 PM
> To: python-win32@python.org
> Subject: [python-win32] Stopping a program in PythonWin?
>
>
> Could anyone tell me please how to break out of execution when
> running something in the PythonWin environment.
>
> For example, suppose I had defined a long loop like
>
> def boring():
>      for i in range(10000):
>           print 'bored'
>
> and then in the interactive window typed
>
>  >>> boring()
>
> How could I avoid waiting for the loop to run its course?
> Ctrl-C does not seem to work, nor anything else
> on my keyboard (except Ctrl-Alt-Delete, which is rather too drastic)
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32