[EMAIL PROTECTED] writes:
> So:  Does anyone know how dynamically generate a class, and add it to a
> "module" that is already in memory?

How about adding a step:

generate your class to a file
import the file as a module.
bind a name in "module" to the class in the imported module.

     <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to