win32process.GetCurrentProcess

int = GetCurrentProcess()

Retrieves a pseudo handle for the current process.