resuming execution

Chris Liechti cliechti at gmx.net
Mon Nov 26 13:47:17 EST 2001


[posted and mailed]

Nissim Broudo <nissim at math.ufl.edu> wrote in 
news:3C026742.EDBD95FA at math.ufl.edu:

> Hi,
> 
> I'm running a script on linux by typing
> 
> python -i myscript.py
> 
> and then I hit Ctrl-C and I'm in Python at a prompt >>>
> 
> How can I resume execution ?
 
you cant as you aborted the program.

if you want to break into the code and inspect it and then continue, you 
can use the python debugger. with it you can single step, set breakpoints 
ans so on. if you use IDLE, pythonwin orr an other ide, you can look for a 
menu entry for debugging.

chris


> Thanks !
> 
> (Please cc: me if you post)
> 
> Nissim Broudo
> 



-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list