摘要:
1.模块subprocess 2.时间服务器 3.qq聊天 socket参数的详解 阅读全文
posted @ 2018-11-29 16:15
冰底熊
阅读(280)
评论(0)
推荐(0)
摘要:
进程模块 process #方式一: from multiprocessing import Process import time def func1(): time.sleep(2) print("我是func1") def func2(): time.sleep(3) print("我是fun 阅读全文
posted @ 2018-11-29 16:04
冰底熊
阅读(229)
评论(0)
推荐(0)
摘要:
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客户 阅读全文
posted @ 2018-11-29 15:53
冰底熊
阅读(188)
评论(0)
推荐(0)
摘要:
from multiprocessing import Process, Pipe def f(parent_conn,child_conn): #parent_conn.close() #不写close将不会引发EOFError while True: try: print(child_conn. 阅读全文
posted @ 2018-11-29 15:40
冰底熊
阅读(171)
评论(0)
推荐(0)

浙公网安备 33010602011771号