Hi,
Itis possible to change the class of an object by assigning new value to
__class__
Is it possible to call my module when it is done.
For example,
object = ClassA()
object.__class__ = classB # I want to call my method when this statement is
executed.
I want to do it in a general way. For ex. ,
from outside.
Regards,
Piyush
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steve Holden
Sent: Thursday, September 27, 2007 9:05 PM
To: python-list@python.org
Subject: Re: making run time changes..
Piyush Jain wrote:
> Hi,
>
> I am new(almost) to
Hi,
I am new(almost) to python. I wish to making a server in which I can make
changes at run time. For example , add a method to a class/attribute to
object etc. by sending it messages.
Can anyone help me with what features to look into and how to go about it.
Are there any similar projects?