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

JCM joshway_without_spam at myway.com
Thu Jul 22 13:06:00 EDT 2004


Grant Edwards <grante at visi.com> 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
value.



More information about the Python-list mailing list