Lurking bugs
bugs in exception handlers
try:
f = open(file)
except IOError, err:
print "I/O Error:", file, msg
misspelled names in assignments
self.done = 0
while not done:
if self.did_it(): self.Done = 1
Previous slide
Next slide
Back to first slide
View graphic version