variable variables

someone petshmidt at googlemail.com
Fri Jun 18 05:48:34 EDT 2010


Hello,

is it possible to make first attr variable?

some_object.attr.attr

so instead of attr I could use self.foo which has value "attr"



Thanks!



More information about the Python-list mailing list