storing variable names in a list before they are used?

John Salerno johnjsal at NOSPAMgmail.com
Sat Sep 30 16:57:51 EDT 2006


Dennis Lee Bieber wrote:


> 	Longer answer... "names" is a list of strings which can be used as
> keys into a dictionary.

Thanks for all that! I like the idea of a dictionary, so I might try 
that, although it does seem to be overcomplicating things a bit (almost 
by necessity, though, given what I want to do).

But I suppose it's still a better solution than manually creating every 
widget and adding it to the sizer.



More information about the Python-list mailing list