python -i (interactive environment)

Joe JoeSalmeri at hotmail.com
Sun Mar 6 17:39:01 EST 2005


Reinhold,

Interesting.

A key difference between the two is that PYTHONINSPECT will allow you access 
to the prompt at the end of your program (assuming no sys.exit or raise 
SystemExit) but code.interact() allows you to jump into the program at any 
point.


"Reinhold Birkenfeld" <reinhold-birkenfeld-nospam at wolke7.net> wrote in 
message news:391eahF5psnnmU1 at individual.net...

>   /* Check this environment variable at the end, to give programs the
>    * opportunity to set it from Python.
>    */
>
> Reinhold 





More information about the Python-list mailing list