返回顶部
摘要: 队列模块queue: from queue import Queue # 使用 q = Queue() q.put(url) # url ,这里只是举个栗子 # 获取队列内容 q.get() # 当队列为空时,发生阻塞 # 获取队列内容 q.get(block=True, timeout=3) # 阅读全文
posted @ 2020-06-17 11:43 Be-myself 阅读(938) 评论(0) 推荐(0) 编辑
levels of contents 点击查看具体代码内容