Assignments and Variable Substitution

Ali aafshar at gmail.com
Tue Aug 14 12:00:20 CEST 2007


On Aug 14, 12:45 am, Steve Holden <st... at holdenweb.com> wrote:
> Evan Klitzke wrote:
> > On 8/13/07, brad <byte8b... at gmail.com> wrote:
> >> I'd like to do something like this:
>
> >> var = '123'
> >> %s = [], %var

> And why would you want a variable whose name is '123'?

... and thus continues the search for private variables in Python.





More information about the Python-list mailing list