摘要: import os from multiprocessing import Process def func(args): # 要在新进程中执行的函数 print("子进程1:"+args) print("子进程1id:" + str(os.getpid())) class Myprocess(Pr 阅读全文
posted @ 2019-10-20 22:23 长江尾 阅读(1799) 评论(0) 推荐(0) 编辑
摘要: socketserver是python内置的用于多连接socket的包 阅读全文
posted @ 2019-10-20 22:20 长江尾 阅读(131) 评论(0) 推荐(0) 编辑