[IPython-user] Need post_runcode_hook
Ville M. Vainio
vivainio@gmail....
Mon Sep 29 14:20:43 CDT 2008
On Mon, Sep 29, 2008 at 9:14 PM, Brian Granger <ellisonbg.net@gmail.com> wrote:
> * The hook that gets run for the actual code execution, should get
> passed the string of code that was entered (not the complied code).
> The reason for this is that it opens the door for IPython to
> understand other languages. For instance, you could have a %fortran
Note that by the time it reaches runcode, it has been mangled by
prefilters. Running non-python code can be done in prefilters (by
translating the code to something like
fortranrun("code-to-execute")
--
Ville M. Vainio
http://tinyurl.com/vainio
More information about the IPython-user
mailing list