get process id...

billie gnewsg at
Thu Sep 21 09:49:58 CEST 2006

georgeryoung at ha scritto:

> SpreadTooThin wrote:
> > How does one get the process id?
> > Is there a method for windows and unix (mac os x etc...)
> under linux, do:
>   import os
>   os.getpid()

Under Windows:
import ctypes

More information about the Python-list mailing list