On Fri, Jun 18, 2010 at 8:31 PM, someone <petshm...@googlemail.com> wrote: > I was looking for a "short way" to do it because I have a lot > "some_object.attr.attr or some_object.other_attr.attr" in code. it > looks like I cannot replace attr with just other variable and must > type some_object.other_attr.attr or your solution which is however > longer to type :)
It would actually help to see some code. --James -- http://mail.python.org/mailman/listinfo/python-list