win32api.GetModuleFileNameW

PyUnicode = GetModuleFileNameW(hModule)

Retrieves the unicode filename of the specified module.

Parameters

hModule : PyHANDLE

Specifies the handle to the module.

Win32 API References

Search for GetModuleFileName at msdn, google or google groups.