会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
下辈子做一只猫
博客园
首页
新随笔
联系
订阅
管理
2018年4月14日
【Python】多线程-1
摘要: #练习:创建一个线程 from threading import Thread import time def run(a = None, b = None) : print a, b time.sleep(1) t = Thread(target = run, name="wangjing",args = ("this is a", "thread")) #此时线程是新建状态 ...
阅读全文
posted @ 2018-04-14 23:32 下辈子做一只猫
阅读(114)
评论(0)
推荐(0)
编辑
公告