python获取进程id号:

python获取进程id号:

os.getpid()获取当前进程id

os.getppid()获取父进程id

posted @ 2019-11-21 20:33  小大大小  阅读(12881)  评论(0)    收藏  举报