[EMAIL PROTECTED] pisze: > Is there any function which will return a variable by passing to it > the string containing the variable's name? Something like this for > instance: > > foo = some_function("foo") > > or perhaps it's a dictionary. I don't know, but I would really like to > find out how it can be done. I guess it is achievable.
getattr(object, attrname, default) -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list