The zope.dottedname module provides one function, resolve that resolves strings containing dotted names into the appropriate python object. WWW: http://pypi.python.org/pypi/zope.dottedname