def UpdateResourcesFromDataFile(dstpath, srcpath, type_, names=None, languages=None):
 src = open(srcpath, 'rb')
 data = src.read()
 src.close()
 UpdateResources(dstpath, data, type_, names, languages)

def UpdateResourcesFromDataFile ( dstpath , srcpath , type_ , names = None , languages = None ) : src = open ( srcpath , 'rb' ) data = src . read ( ) src . close ( ) UpdateResources ( dstpath , data , type_ , names , languages )
update or add resource data from file srcpath in dll/exe file dstpath .