variable hell

Fredrik Lundh fredrik at pythonware.com
Tue Aug 30 07:48:10 EDT 2005


Steve Holden wrote:

> Yes. A large part of learning a language is discovering the many idioms
> that have already been established for doing certain things. These are a
> kind of shorthand, established by long convention, that allow one to
> avoid the "learning-by-use" curve.

it's not obvious that the OP has found the pydiomatic way to solve
his problem, though, given that most of this thread have been spent
on playing with exec, and that Robert Kern's question from the be-
ginning of this thread has still not been answered:

    "Again, why unpack them into separate variables when they are *already*
    in the form that you want to use them?"

</F> 






More information about the Python-list mailing list