def MakeModuleForTypelib(typelibCLSID, lcid, major, minor, progressInstance=None, bGUIProgress=None, bForDemand=bForDemandDefault, bBuildHidden=1):
 if (bGUIProgress is not None):
  print "The 'bGuiProgress' param to 'MakeModuleForTypelib' is obsolete."
 import makepy
 try:
  makepy.GenerateFromTypeLibSpec((typelibCLSID, lcid, major, minor), progressInstance=progressInstance, bForDemand=bForDemand, bBuildHidden=bBuildHidden)
 except pywintypes.com_error:
  return None
 return GetModuleForTypelib(typelibCLSID, lcid, major, minor)

def MakeModuleForTypelib ( typelibCLSID , lcid , major , minor , progressInstance = None , bGUIProgress = None , bForDemand = bForDemandDefault , bBuildHidden = 1 ) : if ( bGUIProgress is not None ) : print "The 'bGuiProgress' param to 'MakeModuleForTypelib' is obsolete." import makepy try : makepy . GenerateFromTypeLibSpec ( ( typelibCLSID , lcid , major , minor ) , progressInstance = progressInstance , bForDemand = bForDemand , bBuildHidden = bBuildHidden ) except pywintypes . com_error : return None return GetModuleForTypelib ( typelibCLSID , lcid , major , minor )
generate support for a type library .