摘要: 一、进程、程序 1.编写完成的代码,在没有运行的时候,称之为程序 2.正在运行着代码,称之为进程 二、用fork创建进程 import os res = os.fork() if res == 0: while True: print('111111') time.sleep(1) else: wh 阅读全文
posted @ 2018-01-23 22:29 Leur 阅读(264) 评论(0) 推荐(0)