摘要: 进程池模块调用:from concurrent.futures import ProcessPoolExecutor from concurrent.futures import ThreadPoolExecutor,ProcessPoolExecutor import time,random,os 阅读全文
posted @ 2019-06-09 22:57 zhouhao666 阅读(113) 评论(0) 推荐(0)
摘要: from socket import * from threading import Thread def comunicat(conn): while True: # 通信循环 try: data = conn.recv(1024) if len(data) == 0: break conn.se 阅读全文
posted @ 2019-06-09 19:30 zhouhao666 阅读(448) 评论(0) 推荐(0)