Is there a _getpid()??

Fredrik Lundh effbot at telia.com
Tue Mar 14 17:15:57 EST 2000


sjoshi at ingr.com wrote:
> Just wondering if there is a _getpid() func. for NT in python.

have been using too much Microsoft stuff lately?
out in the real world, POSIX functions don't have
leading underscores.

in other words, the function you're looking for is
called "getpid", and can be found in the "os" module.

</F>





More information about the Python-list mailing list