会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
知否-
博客园
首页
新随笔
联系
订阅
管理
2020年3月22日
进程/线程/协程/GIL
摘要: 线程 线程是操作系统调度的最小单位 threading模块 线程的调用方式: import threading import time '''直接调用''' def hello(name): print("Hello %s"%name) time.sleep(3) if __name__ == "_
阅读全文
posted @ 2020-03-22 23:07 知否-
阅读(180)
评论(0)
推荐(0)
公告