How to debug python code?

Grant Edwards grante at visi.com
Fri Mar 31 10:30:28 EST 2006


On 2006-03-31, sushant.sirsikar at gmail.com <sushant.sirsikar at gmail.com> 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??
                               visi.com            



More information about the Python-list mailing list