[Tutor] define vars by iteration
luke.jordan at gmail.com
Wed Oct 19 17:23:38 CEST 2005
I've got a bunch of pickled class instances with
self.name<http://self.name/>attributes, and I would like to assign the
instances themselves to variables
named whatever is stored in self.name <http://self.name/> using a function.
"Can't assign to literal", right? Is there a way to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor