Re: How to debug python code?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: How to debug python code?

From: Grant Edwards <grante@visi.com>
Date: Fri Mar 31 2006 - 17:30:28 CEST

On 2006-03-31, sushant.sirsikar@gmail.com <sushant.sirsikar@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            
Received on Sun Apr 30 21:47:14 2006