what is the idiom for copy lots of params into self?

Fredrik Lundh fredrik at pythonware.com
Thu Jan 11 08:36:04 EST 2007


"Emin" <emin.shopper at gmail.com> wrote:

> What made me ask the question in my original post was not so much that
> I had to loop over the names I wanted to save, but whether it's okay to
> mess with self.__dict__ or if there is another way I should be
> assigning to self.

    http://effbot.org/pyref/setattr

</F> 






More information about the Python-list mailing list