- 博客(1)
- 收藏
- 关注
原创 Python Thread Demo
import threading,time,random# 正事代码段def job(name): # time.sleep(int(random.random()*3+1)) # 随机睡眠时间 print(name)# 创建一个 threading.Thread 的派生类class MyThread(threading.Thread): # 构造函数 def __init__(self, filename): threading.Thread.
2021-07-07 13:58:39
111
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人