Howto get the process id
Cameron Laird
claird at lairds.com
Thu Jul 1 07:46:11 EDT 2004
In article <2khukvF2hpcsU1 at uni-berlin.de>,
Alexander Eisenhuth <newsuser at stacom-software.de> wrote:
.
.
.
>So I tried to get the process-id. A look into th e win32
.
.
.
? This looks to me like working too hard. Does
import os
print "The process-id is %s." % os.getpid()
not meet your requirements?
--
Cameron Laird <claird at phaseit.net>
Business: http://www.Phaseit.net
More information about the Python-list
mailing list