On Mon, Dec 1, 2008 at 12:23 PM, Rayene Ben Rayana
<[EMAIL PROTECTED]> wrote:
> Thanks Chris,
>
> Yeah it is kinda meta thing. My app allows to create a scene (a set of GUI
> objects). A scene can be saved as a python script. And, it can be loaded
> again using execfile().
>
> each GUI object has a
Thanks Chris,
Yeah it is kinda meta thing. My app allows to create a scene (a set of GUI
objects). A scene can be saved as a python script. And, it can be loaded
again using execfile().
each GUI object has a label. So, in the script scene, declaring an object in
a scene file should look like this
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()
car = red_car
car.labels()
> ['red_car' , 'car' ]
>
> In other words, does an instance has acces
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