更新时间:2021-10-22 01:23:11
open(lock, 'w').write(os.getpid())
如何在Python中获取用于手动锁定机制的进程PID?
如何在python中使用pid在pid中获取进程名称?