示例 定义函数something,在主进程中开启多进程,传入arg1、arg2开启进程 import multiprocessing def something(arg1,arg2): print(arg1,arg2) if __name__ == '__main__': process = multiprocessing.Process(target=