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