[portland] A List of Object Instances?
dylanr at dylanreinhardt.com
Tue Apr 1 20:10:50 CEST 2008
On Tue, Apr 1, 2008 at 10:10 AM, Rich Shepard <rshepard at appl-ecosys.com>
> Is there a Python data structure that can hold several of these object
> instances so they can be passed to the plotting function?
There are limits to what you can use as a dictionary key, but no limits
(that I know of) as to what kind of object you can put in a list.
Perhaps your problem has something to do with the way your list elements are
being appended and/or accessed?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Portland