how can I get the name of a variable (or other object)?

JCM joshway_without_spam at
Thu Jul 22 19:06:00 CEST 2004

Grant Edwards <grante at> wrote:
> Python doesn't have variables.  Python has objects.  Python has
> dictionaries that map strings (names) to objects.  In your
> example above, there is an integer object with a value of 33.

The Python documentation talks about variables.  Personally I think
that's a fine name for the scoped binding between an identifier and a

More information about the Python-list mailing list