Re: Python introspection and namespace weird question

2008-12-01 Thread Rayene Ben Rayana
AIL PROTECTED]> wrote: > On Mon, Dec 1, 2008 at 6:04 AM, Rayene Ben Rayana > <[EMAIL PROTECTED]> wrote: > > Hello everybody, > > > > Is there an easy way to do something like this in python ? > > > >>>> red_car = MyVehicleClass() > >>&g

Python introspection and namespace weird question

2008-12-01 Thread Rayene Ben Rayana
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 -- http://mail.python.org/mailman/list