Ethon

为什么要有方法,因为懒惰是一种美德。

   :: 首页  :: 新随笔  ::  ::  :: 管理

2020年2月28日

摘要: import threading import time # 通过函数方法创建多线程 def run(n): print('%s 线程开始了' % threading.current_thread().name) time.sleep(n) print('%s 线程结束了' % threading. 阅读全文
posted @ 2020-02-28 14:20 Ethon 阅读(248) 评论(0) 推荐(0) 编辑