How to read the Python tutorial?

Emile van Sebille emile at fenx.com
Wed Nov 10 15:33:02 EST 2010


On 11/10/2010 8:19 AM rantingrick said...
> I would start at the loop and figure out what is going on from there
> with some print statements and the functions i showed you. Debugging
> is a large part of any programming project. We all do it everyday. So
> the sooner you learn the better. If you have a specific question feel
> free to ask, but general debug issues are better solved yourself.
>
> A few more indispensable functions are dir() and help()

All good info -- I'd add that you should learn and become comfortable with:

import pdb; pdb.set_trace()

to test running code.

Emile







More information about the Python-list mailing list