摘要:
1.模块subprocess 2.时间服务器 3.qq聊天 socket参数的详解 阅读全文
摘要:
进程模块 process #方式一: from multiprocessing import Process import time def func1(): time.sleep(2) print("我是func1") def func2(): time.sleep(3) print("我是fun 阅读全文
摘要:
from multiprocessing import Process,Lock import time def show_ticket(i): with open("file","r",encoding="utf-8") as f: num=f.read().strip() print("%s客户 阅读全文
摘要:
from multiprocessing import Process, Pipe def f(parent_conn,child_conn): #parent_conn.close() #不写close将不会引发EOFError while True: try: print(child_conn. 阅读全文