[Tutor] Program Questions
alan.gauld at blueyonder.co.uk
Tue Jul 20 00:03:29 CEST 2004
In my mail tool they were the only bits that had any indentation at
It would be useful if you can find a way to send plain text since
indentation is critical, not to mention easier to read!
BTW Instead of
its easier to do:
personally I'd go for the first option.
Where you need to substitute a function call use a format string:
print "\n%s\n" % acct.foo()
It keeps it shorter and easier to read.
As to the error, again it helps if you post the actual error report.
Author of the Learn to Program web tutor
More information about the Tutor