load changes of subclasses

Tom llafba_NOSPAM_ at gmx.net
Tue Sep 23 10:47:19 EDT 2003


Hi,

I have a main program  that uses a lot of definitions in different classes.
They are included like this:
from subclass1 import *
from subclass2 import *
My problem is: whenever I make changes in one of the classes I have to 
close and reopen the main program for the changes to take effect. This 
is kind of annoying, because I always want to test if my changes are 
correct and that's why I have to run the main program. Is there some 
kind of a shortcut where I don't have to close and reopen the main program?

I hope this question is not too stupid, but I am still quite new to Python.
Thanks a lot.
Regards, Tom





More information about the Python-list mailing list