Re: ipython shortcut to reload modules

2007-02-21 Thread Greenberg
[EMAIL PROTECTED] wrote: > Hey! > > I'm using ipython as my python shell and often run scripts with the > magic command %run: > > In [1]: %run script.py > > If modules are loaded within the script these are not reloaded when I > rerun the script. Hence, when I changed some of the modules loaded,

ipython shortcut to reload modules

2007-02-19 Thread [EMAIL PROTECTED]
Hey! I'm using ipython as my python shell and often run scripts with the magic command %run: In [1]: %run script.py If modules are loaded within the script these are not reloaded when I rerun the script. Hence, when I changed some of the modules loaded, I have to call In [2]: reload(module1) Ou