python操作excel方法

2024-10-21 11:15:46

1、配置好python环境变量,这里使用的是python3

python操作excel方法

2、环境变量中配置好pip工具,安装python调用excel所需要的驱动都是通过pip进行安装的

python操作excel方法

3、安装xlrd模块命令:pip install xlrd

python操作excel方法

4、安装xlwt模块命令:pip install xlwt

python操作excel方法

5、验证xlrd模块,用import导入如果没报错就表明安装正常

python操作excel方法

6、验证xlwt模块,用import导入如果没报错就表明安装正常

python操作excel方法
猜你喜欢