Get process ID with python

Viewed 26895

How to get the current process id with python on windows?

there are this function os.geteuid() but its only works with linux/unix could someone tell what it the pythonic way to get the current process id on windows.

1 Answers
Related