Re: [Tutor] Retrieving information from a plain text file(WinXP/py2.6.2/Beginner)
by Alan Gauld other posts by this author
Nov 3 2009 1:57PM messages near this date
Re: [Tutor] Stolen thread: Bottom folk vs. toppers was trouble using2to3.py
|
Re: [Tutor] Retrieving information from a plain text file(WinXP/py2.6.2/Beginner)
"Serdar Tumgoren" <zstumgoren@[...].com> wrote
> Also, on a side note, you can greatly improve the readability of your
> code by using the triple-quote style for multi-line docstrings inside
> functions (rather than the hash comment marks). I tend to use hash
> marks for one-line/inline comments, since they can really become an
> eyesore (at least IMHO) when used too liberally.
I'd second that suggestion with the added benefit that if you use
docstrings they will be detected by Pythons help() function.
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@[...].org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Thread:
Alan Gauld
Alan Gauld
|