python+excel 实战学习一------安装

1.安装python

下载地址是:https://www.python.org/downloads/

注意

2.查看下载pip,使用命令pip list 出来则OK,跳到4

(2020年      目前pyhon版本已经预装)

3.安装下载器 pip

参考:https://www.cnblogs.com/yuanzm/p/4089856.html

4.pip 使用

5.安装 xlrd xlwt xlutils

(注意安装前,先查看一下有没有已经安装的  命令  pip list)

1.xlrd:从Excel电子表格中提取数据  doc地址:https://xlrd.readthedocs.io/en/latest/
2.xlwt:将数据写入Excel电子表格   doc地址:https://xlwt.readthedocs.org/en/latest/
3.xlutils:提供一组处理Excel文件的实用程序  doc地址:https://xlutils.readthedocs.io/en/latest/

  安装

python -m pip install xlrd xlwt xlutils

6.安装 pandas

(可以参考:https://www.cnblogs.com/ljy2013/p/5603523.html)

1.直接用命令行pip install pandas,安装

2.安装完成后 ,检查  pip list

3.如果安装失败,或者是麻烦直接安装 Anoconda

教程如下:https://blog.csdn.net/u012318074/article/details/77075209

或              https://zhuanlan.zhihu.com/p/61639212

4.获取安装包,请关注公众号,输入 python 获取

原文地址:https://www.cnblogs.com/asnail/p/12810351.html