Starting a script interactively?

David Klaffenbach google at klaff.org
Fri Jan 2 16:05:14 EST 2004


Is there a way from within a python script to cause the interpreter to
be in interactive mode after the script finishes?

so that if I run:

myscript.py

it will always execute as if I had run:

python23.exe -i myscript.py

I know I could use a batch file or shell script but can it be done
from within the script itself?

Thanks, Dave



More information about the Python-list mailing list