获取当前脚本的进程PID号

import os

handle=os.getpid()
posted @ 2020-06-23 02:15  凯宾斯基  阅读(554)  评论(0)    收藏  举报