variable hell

Tim N. van der Leeuw tim.leeuwvander at nl.unisys.com
Tue Aug 30 08:52:04 EDT 2005


What you could do is to create a class for this; fill it's __dict__
instance; and use custom getattr() / setattr() methods for accessing
a0, a1, a2 etc.

cheers,

--Tim




More information about the Python-list mailing list