switch to interactive mode

nntpman68 news1234 at free.fr
Mon Mar 16 18:49:34 EDT 2009


Hi

I know about two ways to enter python interactive mode

1.) just start python

2.) run python -i pythonscript.py

What I am looking for is slightly different:

I'd like, that a python script can be started by just calling it 
(clicking on it),


but that the script can decide to enter interactive mode if certain 
conditions occur.

Is this possible?






More information about the Python-list mailing list