Python introspection and namespace weird question
Rayene Ben Rayana
rayene.benrayana at gmail.com
Mon Dec 1 09:04:33 EST 2008
Hello everybody,
Is there an easy way to do something like this in python ?
>>> red_car = MyVehicleClass()
>>> car = red_car
>>> car.labels()
['red_car' , 'car' ]
In other words, does an instance has access to its name pointers ?
Thanks in advance,
Rayene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081201/9c73e7a2/attachment-0001.html>
More information about the Python-list
mailing list