开启子进程的两种方式
摘要:
# 方式一# from multiprocessing import Process# import time# def task(name):# print('%s is runing'%name)# time.sleep(3)# print('%s is down'%name)# if __na 阅读全文
posted @ 2019-09-10 14:38 别离 阅读(101) 评论(0) 推荐(0)
posted @ 2019-09-10 14:38 别离 阅读(101) 评论(0) 推荐(0)