Debugging Python ?

Keith Jones kmj9907 at cs.rit.edu
Mon Jul 28 22:00:43 CEST 2003


On Mon, 28 Jul 2003 13:23:43 +0000, John Roth wrote:

> 
> Yup. AFIC, the print statement is only for debugging, and it's quite
> effective for that purpose.
> 

I would guess it's pretty good for teaching programming, too. Seeing 

print "Hello world"

is more welcoming than even:

import sys
sys.stdout.write("Hello world\n")








More information about the Python-list mailing list