[Tutor] is it possible to create and amend classes during run-time?
Bjorn Madsen
bjorn.h.madsen at googlemail.com
Wed May 2 21:56:04 CEST 2012
Hi,
I have been studying http://docs.python.org/tutorial/classes.html for a
while, but still have two questions which I could not answer. Perhaps you
could help?
Does anyone know if it is possible during run-time to:
a) add attributes to classes, which will unknown at program start, but
"emerge" later whilst the program is running?
b) add subclasses to class (also during runtime)
I thank you in advance...
Kind Regards,
--
Bjorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120502/602885de/attachment.html>
More information about the Tutor
mailing list