Printable string for 'self'

Fredrik Lundh fredrik at pythonware.com
Wed Mar 15 02:37:45 EST 2006


Don Taylor wrote:

> And if I call my method: A().qualify global_names_bound_to_me() then I
> get an empty list back.
>
> Is what I want to do not possible without referring back to the source?

objects don't have names in Python, and the source is not part of
the running program.

have you read this ?

    http://effbot.org/zone/python-objects.htm

</F>






More information about the Python-list mailing list