[IPython-user] Need post_runcode_hook
Ville M. Vainio
vivainio@gmail....
Tue Sep 30 01:51:00 CDT 2008
On Mon, Sep 29, 2008 at 11:23 PM, Brian Granger <ellisonbg.net@gmail.com> wrote:
> Except it doesn't work for some cases. The only case where this it
> does work is when code-to-run, can be grabbed from a single IPython
> input statement. In many cases, you want to build/type code-to-run
> out of _many_ IPython input statements (maybe one IPython input for
> each _line_ of the fortran code). This is how %autopx works. Once
You can append the entered lines somewhere in prefilter, and then
flush it with one command. E.g.
fortranapp('foo')
fortranapp('bar')
fortranflush()
--
Ville M. Vainio
http://tinyurl.com/vainio
More information about the IPython-user
mailing list