John Abel wrote: > def _importModule( moduleName ): > modName = __import__ ( moduleName ) > modComponents = moduleName.split( '.' ) > for indivComp in modComponents[ 1: ]: > modName = getattr( modName, indivComp ) > > return modName __import__ takes a module name, not an arbitrary file name. </F>