def GetModuleForTypelib(typelibCLSID, lcid, major, minor):
 modName = GetGeneratedFileName(typelibCLSID, lcid, major, minor)
 mod = _GetModule(modName)
 if ('_in_gencache_' not in mod.__dict__):
  AddModuleToCache(typelibCLSID, lcid, major, minor)
  assert ('_in_gencache_' in mod.__dict__)
 return mod

def GetModuleForTypelib ( typelibCLSID , lcid , major , minor ) : modName = GetGeneratedFileName ( typelibCLSID , lcid , major , minor ) mod = _GetModule ( modName ) if ( '_in_gencache_' not in mod . __dict__ ) : AddModuleToCache ( typelibCLSID , lcid , major , minor ) assert ( '_in_gencache_' in mod . __dict__ ) return mod
get a python module for a type library id given the clsid of a typelibrary .