Does an arbitrary variable carry an attribute describing the text in
its name? I'm looking for something along the lines of:

x = 10
print x.name
>>> 'x'

Perhaps the x.__getattribute__ method? Thanks.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to