Fundamental Function Question (beginner)
Philip Semanchuk
philip at semanchuk.com
Mon Jan 11 15:00:44 EST 2010
On Jan 11, 2010, at 2:50 PM, Phlip wrote:
> MRAB wrote:
>
>> Scott wrote:
>
>>> for prtnmS in open(portfpth):
>>> prtnmS = prtnmS.rstrip()
>
>> There's nothing wrong with building dicts or other lookup tables
>> outside
>> a function in order to avoid re-creating them every time the
>> function is
>> called.
>
> However, please consider writing complete, pronounceable names for
> variables. This looks like Fortran!
Wht doYu mn? I thnk hisCde is ez2rd!
More information about the Python-list
mailing list