nested data structures with classes

Tyler Eaves tyler at tylereaves.com
Sun Aug 24 16:31:22 EDT 2003


Maybe you could use dictionaries?

ie:

reaction['name'] = 'fawlty towers'
reaction['reactant'] = []
reaction['reactant'].append(anotherdict)

etc...





More information about the Python-list mailing list