On 9 September 2010 20:43, Stephen Boulet <stephen.bou...@gmail.com> wrote:
> 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'

<http://effbot.org/pyfaq/how-can-my-code-discover-the-name-of-an-object.htm>

-- 
Cheers,
Simon B.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to