dynamically extend classes

Matt Wette Matthew.R.Wette at jpl.nasa.gov
Sat Feb 19 11:01:21 EST 2000

Is there a way to dynamically extend classes in Python?

I'd like to be able to have sitecustomize.py import a module
and add methods to a class so that later, when anohter modules
imports this module and uses the class it sees the added methods.



Matthew.R.Wette at jpl.nasa.gov -- I speak for myself, not for JPL.

More information about the Python-list mailing list