摘要: 进程创建方法一: import os ret = os.fork() if ret > 0: //返回值大于0,说明是父进程 print("this is father") elif ret == 0: //返回值等于0,说明是子进程 print("this is son") else : //返回 阅读全文
posted @ 2017-10-22 21:00 我为Xin媛学Python 阅读(185) 评论(0) 推荐(0) 编辑