Getting PID for process

Harlin Seritt harlinseritt at yahoo.com
Fri Apr 29 06:35:26 EDT 2005


Let's say I have a simple script on Windows NT. I would like for that
script to find its own PID once it's started and store that as a value
within the script. Also, down the road I'd like to kill that process by
its PID. How is this done?

Thanks,

Harlin Seritt




More information about the Python-list mailing list