[IPython-user] %run foo.ipy crashes on blank lines, but %edit foo.ipy works OK
Tue Jun 3 14:58:42 CDT 2008
On Tue 03 Jun 2008 03:54:25 PM EDT, Fernando Perez wrote:
> Try %run -i foo.py. This runs foo.py in your interactive namespace,
> so all top-level names are seen by your script. The difference is
> - %run: runs in empty namespace, updates top-level.
> - %run -i: runs directly in top-level, as if 'typed in'
Yeah, that is exactly what I needed. Thanks so much.
More information about the IPython-user