摘要: If any hit, print file name. # Keywords is case-sensitive. import os print(os.getcwd()) keywords= "Keywords" for file in os.listdir(): if file.endswit 阅读全文
posted @ 2020-12-30 19:21 q4zs 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 5 library recommended for scraping website, https://elitedatascience.com/python-web-scraping-libraries The Farm: Requests The Stew: Beautiful Soup 4 T 阅读全文
posted @ 2018-10-20 09:22 q4zs 阅读(144) 评论(0) 推荐(0) 编辑
摘要: python特点:强大的第三方库。优缺点:较小的代价建造工程,也要求我们对库要有了解。 基本特性: 1. 面向对象,动态编译,脚本语言 2. 不依赖平台 3. 对接了几乎所有系统操作的API python是用c实现的,依赖于扩展的,易于理解的可移植c库。和unix无缝对接,在非unix系统下也能相似 阅读全文
posted @ 2018-10-20 08:53 q4zs 阅读(161) 评论(0) 推荐(0) 编辑