Start the interactive shell within an application

alex23 wuwei23 at gmail.com
Wed Jun 10 06:07:27 CEST 2009


On Jun 10, 1:40 am, Ben Charrow <bchar... at csail.mit.edu> wrote:
> If you're looking to debug your program, try "import pdb"

Another option, if you wish to debug an error, is to run python using
the -i parameter. This will leave you inside the interpreter at the
point that execution stops. Very handy.

- alex23



More information about the Python-list mailing list