loading program's global variables in ipython

Esmail ebonak at hotmail.com
Mon Mar 23 15:12:36 CET 2009

Peter Otten wrote:
> Use
> %run -i myfile.py
> or
> execfile("myfile.py") # not ipython-specific

thanks for these suggestions Peter, I have had exactly the same problem
and was looking for a way around it -- this will be very helpful.


ps: for some reason I am unable to post to the
     gmane.comp.python.ipython.user group. For one I can't install the
     Windows version of iPython (Linux works superfine :-)

More information about the Python-list mailing list