how to develop code using a mix of an existing python-program and console-commands

Jean-Michel Pichavant jeanmichel at
Mon Dec 23 13:24:57 CET 2013

----- Original Message -----
> Am 18.12.13 21:17, schrieb Jean Dubois:
> > I have a python-program which I want to perform its task first,
> > then
> > switch to
> > the python console to experiment with further commands, using what
> > was
> > already
> > defined in the python-program.
> Excellent way to use/debug a scripting langugage. Use ipython, and
> then
> either
> %run

I second his suggestion. Additionally, 


will automatically call the ipython debugger on unhandled exceptions, making post mortem debugging a walk in a park.



The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

More information about the Python-list mailing list