会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
mamingchen
博客园
首页
新随笔
联系
订阅
管理
2019年8月9日
第八篇 并发(进程和线程)
摘要: Python里执行并发有进程和线程两个,分布使用 threading 和multiprocessing 两个库,一般用的是这两个库里的Thread和Process 进程和线程的使用场景: 1. 一般在有大量的数据(耗时)操作的时候,会用到线程和进程 2.python里要优先用进程,因为Python里
阅读全文
posted @ 2019-08-09 14:33 mamingchen
阅读(430)
评论(0)
推荐(0)
编辑
公告