要执行的函数:dowork(log,config,task_list)
其中,log是一个logging对象,config是一个字典,task_list是一个列表
在用multiprocessing.Process(target=dowork,args=?)
的时候怎么送这个args?
要执行的函数:dowork(log,config,task_list)
其中,log是一个logging对象,config是一个字典,task_list是一个列表
在用multiprocessing.Process(target=dowork,args=?)
的时候怎么送这个args?
dowork(log, *task_list, **config)
一般是这样, *表示 列表,**表示 字典