#
from multiprocessing import Process
#
#
# class MyProcess(Process):
# # 当进程被执行时 其实执行的就是run函数
# def run(self):
# print("这是 run被执行了!")
#
#
#
# def ttt():
# print("11111")
# if __name__ == '__main__':
# mp = MyProcess()
# mp.start()
#
# p = Process(target=ttt)
# p.start()
#

posted on 2018-11-07 19:34  frank007  阅读(82)  评论(0编辑  收藏  举报