interactive program execution

Alex Martelli aleax at aleax.it
Thu Feb 6 10:12:28 EST 2003


Axel Grune wrote:

> Hi, is it posible switch into the interactive mod during the execution
> of a program? For example you have a console program and you want to
> debug or test it. You execute it and at a specific point it switches
> in the interactive mod of the interpreter and you can check variables
> or call functions by hand.

You can switch at the end (python -i blah.py) but not at arbitrary
points of your program's execution.


Alex





More information about the Python-list mailing list