python获取进程id号:

python获取进程id号:

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

os.getppid()获取父进程id

原文地址:https://www.cnblogs.com/ming-4/p/11908135.html