Start the interactive shell within an application

alex23 wuwei23 at
Wed Jun 10 00:07:27 EDT 2009

On Jun 10, 1:40 am, Ben Charrow <bchar... at> 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