摘要: 1.多线程 from threading import Thread 示例1 from threading import Thread def func1(name): for i in range(1000): print("func1", i) def func2(name): for i in 阅读全文
posted @ 2021-03-25 20:18 ShanCe-刘勇 阅读(47) 评论(0) 推荐(0) 编辑
摘要: bs4 基本使用 pip install bs4 https://beautifulsoup.readthedocs.io/zh_CN/v4.4.0/ 将html 转换为 将页面源代码交给BeautifulSoup, 进行解析 find 只找第一个满足条件的 find_all 所有满足条件的 通过g 阅读全文
posted @ 2021-03-25 20:17 ShanCe-刘勇 阅读(29) 评论(0) 推荐(0) 编辑