[Tutor] is it possible to create and amend classes during run-time?
bjorn.h.madsen at googlemail.com
Wed May 2 21:56:04 CEST 2012
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
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...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor