It seems they canceled in Python 3 all the easy way to quickly load a script by removing execfile()
execfile()
Is there an obvious alternative I\'m missing?
Also, while not a pure Python solution, if you're using IPython (as you probably should anyway), you can do:
%run /path/to/filename.py
Which is equally easy.