dynamic class instantiation
Ognen Duzlevski
maketo at ukato.freeshell.org
Thu Feb 2 13:42:38 EST 2006
Kent Johnson <kent at kentsjohnson.com> wrote:
> Ognen Duzlevski wrote:
> > Can you suggest a better approach or did you already do that and I just missed
> > it? :)
> With the above definitions, an equivalent class is created by calling
> page = classFactory( 'page', { 'name' : None, 'caption': None,
> 'functions' : []} )
Beautiful. Thank you very much.
Cheers,
Ognen
More information about the Python-list
mailing list