get process id...

georgeryoung at gmail.com georgeryoung at gmail.com
Wed Sep 20 18:30:24 CEST 2006


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()




More information about the Python-list mailing list