On 13/09/12 00:36, [email protected] wrote:

To make it even more generic I would suggest replacing
"""   print(theHeader) """
with
"""   if theHeader:
           print(theHeader)
"""
to avoid a blank line if you don't need/want a header line.

Good catch, yes, that would be better.


--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to