automatic naming of variables to create objects

r holland rhh at structurelabs.com
Thu Jun 3 03:22:53 EDT 2004


The only way I know of to create a series of object/variable names in
a loop is to form strings and then use exec (or eval in some cases). 
Is there a better way?



More information about the Python-list mailing list