Howto get the process id
Alexander Eisenhuth
newsuser at stacom-software.de
Thu Jul 1 10:03:49 EDT 2004
Cameron Laird schrieb:
> 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?
Sorry, if I was to unprecisely, I need the id of a foreign
process. (I'm a COM server process and need the id of the
calling client)
More information about the Python-list
mailing list