[IPython-dev] Getting executed code

Frédéric Mantegazza mantegazza at ill.fr
Mon Nov 28 05:35:22 EST 2005


Is there a way to retreive the currently executed code ? The ipshell.buffer 
contains the code, but in the case of a multiline code, how can I know what 
is the current line executed, in my custom exception handler ?


More information about the IPython-dev mailing list