摘要:
import requests # https://video.pearvideo.com/mp4/adshort/20210827/1630292282943-15755349_adpkg-ad_hd.mp4 # https://video.pearvideo.com/mp4/adshort/20 阅读全文
posted @ 2021-08-30 11:17
奋翅凌紫氛
阅读(666)
评论(0)
推荐(0)
摘要:
创建线程 import threading import time import os def sing(num): for i in range(num): print('唱歌') time.sleep(1) def dance(num): for i in range(num): print(' 阅读全文
posted @ 2021-08-30 09:44
奋翅凌紫氛
阅读(35)
评论(0)
推荐(0)
摘要:
创建进程 import multiprocessing import time import os def sing(num): print('唱歌进程的pid', os.getpid()) print('唱歌进程的父进程pid', os.getppid()) for i in range(num) 阅读全文
posted @ 2021-08-30 09:40
奋翅凌紫氛
阅读(27)
评论(0)
推荐(0)

浙公网安备 33010602011771号