Fundamental Function Question (beginner)

Scott scott.freemire at gmail.com
Mon Jan 11 21:46:26 CET 2010


On Jan 11, 1:50 pm, Phlip <phlip2... at gmail.com> 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!

Thanks for the advice.
Scott
Chrmn, Scty fr th lmntn f vwls



More information about the Python-list mailing list