首页 > 技术文章 > python获取进程id号:
ming-4 2019-11-21 20:33 原文
python获取进程id号:
os.getpid()获取当前进程id
os.getppid()获取父进程id