Getting a class from its name
Jeremy Yallop
jeremy at jdyallop.freeserve.co.uk
Tue Aug 20 17:53:04 EDT 2002
* Henrik Motakef
| I guess thats an easy one, but somehow I'm blocked.
| How do I get a class given its name (or an object of this class
| ultimatly)?
|
| Say I have the string "xml.dom.Node", how do I use it to make a Node
| object?
The addresses this problem for functions. The principles are the
same.
http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.103.htp
Jeremy.
More information about the Python-list
mailing list