nested data structures with classes

Tyler Eaves tyler at tylereaves.com
Sun Aug 24 22:31:22 CEST 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