Dynamic variables

Daley, Mark W mark.w.daley at intel.com
Mon Jul 31 15:38:14 EDT 2000


Does anyone know of a way to create variables on the fly, like in a loop?  I
want to be able to build a set of check buttons in a GUI I'm writing, and
each check button needs a different variable, I think, to determine which
ones are checked.  I want to use a for loop to iterate over a list to build
the check buttons, but I don't know the contents or length of the list.  Any
ideas?

- Mark
----------------------------------------------
The opinions expressed are mine, and are not necessarily those of my
employer.






More information about the Python-list mailing list