On Tue, Apr 29, 2008 at 2:27 AM, G Jones <[EMAIL PROTECTED]> wrote:
> Hello,
>  I appologize for a slightly off topic post, but I'm sure someone here
>  knows the answer. I like the idea of developing code interactively
>  with IPython, but I cannot get past one hurdle. I would like to write
>  my code in a module that I then import and instantiate classes or call
>  functions from interactively. However, when I try to do this in
>  IPython I find that after I import my code, it is cached and even
>  after restarting and reimporting, the changes are not recognized. What
>  is the paradigm people use to get around this, or what is the
>  preferred paradigm for interactive development using IPython.
>  Thanks,
>  Glenn

While I don't see any persistance across restarts of ipython - I do
within a session.

Check the reload command - which will reimport an already imported
module picking up any fresh changes in the source.

Cheers

Robin

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to