复习:进程

# __author: "ZXYang"
# date: 2020/5/18

from multiprocessing import Process
import time


def pr(name):
print(‘process‘, time.ctime())


if __name__ == ‘__main__‘:

ps = []
for i in range(10):
a = Process(target=pr, args=(‘li‘,))
ps.append(a)
a.start()
for p in ps:
p.join()

print(‘vip‘)

复习:进程

上一篇:Mac 装jdk踩坑


下一篇:2.1 什么是VMware vSphere