[IPython-User] query frontend?

Fernando Perez fperez.net@gmail....
Thu Apr 12 22:55:21 CDT 2012


Hi Michael,

On Tue, Apr 10, 2012 at 7:55 PM, Michael Kuhlen <mqk@astro.berkeley.edu> wrote:
> Now I'm exploring switching to IPython notebooks.

Brian gave you some useful tips, I just wanted to add a minor note:
you can keep 'library' code in .py files if you want, and atop a
notebook you can use

%run mymodule.py

to pull all of those utilities in for further interactive use.  Since
%run does a full execfile(), everytime you run it you get the
equivalent of a clean reload(), though your expensive loadit step
won't get done again.

Cheers,

f


More information about the IPython-User mailing list