[IPython-user] re importing modules
Mon Sep 10 15:54:02 CDT 2007
On 9/10/07, fred <firstname.lastname@example.org> wrote:
> Oğuz Yarımtepe a écrit :
> > Hi,
> > Sometime i make changes on the class that i have already imported while using
> > ipython shell and need to re import it to take effects. But using the import
> > command doesnt re import the module again with the new effects. How can i
> > manage it without logging out and logging in to the shell?
> The doc says sec 6.9 to use dreload for this.
Note: dreload is a more aggressive form of 'deep' reloading. For
single-module changes, just use the Python builtin function reload()
More information about the IPython-user