[SciPy-user] iPython: How to reload & run

Anne Archibald peridot.faceted@gmail....
Sun Mar 23 19:53:11 CDT 2008


On 23/03/2008, Allen Fowler <allen.fowler@yahoo.com> wrote:
> Hello,
>
>  New iPython user here....
>
>  Typing %run only reloads the actually file... any of my modules are not reloaded even if I've chenged them.
>
>  Is there short-cut command to %run a file and forcefully reload any modules that its uses?

Not exactly. But ipython provides dreload() to make reloading
recursive. There are also issues with existing objects keeping the
same code they were created with; see
http://mail.python.org/pipermail/python-list/2004-June/264778.html
for a partial solution.

Anne


More information about the SciPy-user mailing list