[IPython-dev] saving/loading py files
Sat Mar 31 17:29:05 CDT 2012
On 31 March 2012 23:21, Satrajit Ghosh <email@example.com> wrote:
> (the reason is that the inspect module needs to find the function, so i
> can't simply define it in a separate cell).
The inspect module should be able to find code in cells, so let us
know if that doesn't work.
> - is there already some quicker way to achieve this?
The %save magic should do it: %save test.py 1
More information about the IPython-dev