And I don't like this "BAD CODE1" and "BAD CODE2"
How to rewrite bad codes???
about "BAD CODE2" - I've fount a good solution (or it seems to me to be good :) ):
"
tags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']
for i in tags:
Show_step(i)
for j in getattr(parser, i):
print j
"
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor