Is it possible at the end of a script to issue some python command that will cause the python shell to open as if the -i flag had been used Eg, > python -i somefile.py and > python somefile.py will both behave the same if somefile.py ends with the right magic incantation? Thanks, John Hunter