摘要: import os print('Process (%s) start...' % os.getpid()) # Only works on Unix/Linux/Mac: pid = os.fork()#os.fork()创建2个进程,返回值为0时,表示子进程,返回值为子进程号是 父进程os.ge 阅读全文
posted @ 2020-01-14 23:58 盾钝 阅读(689) 评论(0) 推荐(0) 编辑