获取当前脚本的进程PID号

import os

handle=os.getpid()

猜你喜欢

转载自www.cnblogs.com/kaibindirver/p/13180037.html