How to debug python code?

Grant Edwards grante at
Fri Mar 31 17:30:28 CEST 2006

On 2006-03-31, sushant.sirsikar at <sushant.sirsikar at> wrote:

>        I am new to Python programming.I am not getting exactly pdb.Can
> anyone tell me effective  way to debug python code?

1) Read your code.  Think.

2) Add some "print" statements.

3) goto 1)

Grant Edwards                   grante             Yow!  Where's th' DAFFY
                                  at               DUCK EXHIBIT??

More information about the Python-list mailing list