def get_pywin32_module_file_attribute(module_name):
 statement = "\n        from PyInstaller.utils.win32 import winutils\n        module = winutils.import_pywin32_module('%s')\n        print(module.__file__)\n    "
 return exec_statement((statement % module_name))

def get_pywin32_module_file_attribute ( module_name ) : statement = "\n        from PyInstaller.utils.win32 import winutils\n        module = winutils.import_pywin32_module('%s')\n        print(module.__file__)\n    " return exec_statement ( ( statement % module_name ) )
get the absolute path of the pywin32 dll specific to the pywin32 module with the passed name .