ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved