georgeryoung at gmail.com 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 ctypes.windll.kernel32.GetCurrentProcessId()