from multiprocessing import Processdef sayHi(): print('sayHi')if __name__=='__main__': for i in range(5): process =Process(target=sayHi) process.start()
读者你好:
在cmd 下运行。