naming objects from string
fredrik at pythonware.com
Thu Sep 21 10:06:52 CEST 2006
> so they might provide a list of names, like 'bob','john','pete', with 3
> structures per name, such as 'apple','orange','red' and I need 9 tuples
> in my code to store their data:
> I then populate the 9 tuples with data they provide in a separate file,
> and the filled tuples are then validated against the metadata to make
> sure they are isomorphic.
if you want a dictionary, use a dictionary.
More information about the Python-list