Pedro Machado Santa wrote:

> import testpackage
> 
> class testClass():
> #...
> 
> testpackage.testClass =  testClass


This method should work fine. Modules are effectively singletons, so running
this code one time anywhere in your application will cause the changes to
appear in all references to the original module.


Jeffrey
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to