Normally you can execute a Python script for example: python myscript.py, but if you are in the interactive mode, how is it possible to execute a Python script on the filesystem?
>>> exec(File) ???
It should be possible to execute the script more than one time.
Use
execfile('script.py')but it only work on python 2.x, if you are using 3.0 tryexec(open('script.py').read())