def GetResources(filename, types=None, names=None, languages=None):
 hsrc = win32api.LoadLibraryEx(filename, 0, LOAD_LIBRARY_AS_DATAFILE)
 res = _GetResources(hsrc, types, names, languages)
 win32api.FreeLibrary(hsrc)
 return res

def GetResources ( filename , types = None , names = None , languages = None ) : hsrc = win32api . LoadLibraryEx ( filename , 0 , LOAD_LIBRARY_AS_DATAFILE ) res = _GetResources ( hsrc , types , names , languages ) win32api . FreeLibrary ( hsrc ) return res
get resources from dll/exe file .