摘要: 1 from multiprocessing import Process 2 import os 3 4 def test(name): 5 print("pid=%d,ppid=%d,,,,参数=%s"%(os.getpid(),os.getppid(),name)) 6 # args为元组 7 p = Process(target = test, args = ("nameVal... 阅读全文
posted @ 2019-01-29 11:43 Q_sword 阅读(110) 评论(0) 推荐(0) 编辑