学习的过程中会用到很多第三方模块, 究竟用到了哪些, 主要功能是什么?
windows环境下
安装的模块 | 用到的功能 | 使用方法 | |
---|---|---|---|
pip install pyinstaller | 让py编写的代码文件离开python环境使用 | py打包exe文件 | |
pip install bs4 | BeautifulSoup解析requests到的text文件 | bsoup用法详解 | |
pip install selenium | 使用其中的webdriver自动控制浏览器 | 使用方法 | |
pip install MyQR | 二维码生成应用 | ||
pip install openpyxl | 操作excel文件 | .xlsx文件读写操作方法 | |
pip install html5lib | 使用html5的方式对res进行解析1 | 不需要单独import, res_txt=BeautifulSoup(res.text,'html5lib') | |
pip install lxml | openpyxl只写模式需要用到 | ||
pip install xlwings | 在excel中调用python | 中文文档入门进阶 | |
pip install scikit-opt | 遗传算法 | git | |
pip install pandas | 分析结构化数据的工具集 | 中文文档 | |
pip install pymysql | |||
pip install sqlalchemy | |||
pip install mysql-connector-python | mysql驱动 | 解决SQLAlchemy+MySQL插入数据时报警告Warning | |
pip install xlrd | excel读取 | 配合pandas使用 |
- 使用html.parser解析500大小指数的时候, footer部分代码有错误,使用html5lib正常 ↩