调用其他文件程序
"""
author:张鑫
date:2021/8/26 17:41
"""
import multiprocessing
from 技术提升.工具.进程与线程.单进程 import a, b
from 技术提升.工具.进程与线程.多进程 import q, w
a()
b()
q(5)
w((6), 'b')
process_a = multiprocessing.Process(target=a)
process_q = multiprocessing.Process(target=q)
process_b = multiprocessing.Process(target=b)
process_w = multiprocessing.Process(target=w)