win32api.GetModuleFileName

string = GetModuleFileName(hModule)

Retrieves the 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.