python如何安装操作Excel的模块
python如何安装操作Excel的模块,貌似找不到python的文件夹 python能正常运行不??如果能,那么不用考虑路径问题!直接pip就可以
选一个你喜欢的模块 1)先确保你的电脑正确安装了python并设置了环境变量:https://www.runoob.com/python3/python3-install.html
2)安装openpyxl模块,它可以操控excel:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple openpyxl
pandas 模块、openpyxl 模块 都可以对excel 进行操作
打开 cmd ,用 pip 安装 pandas 模块:
python -m pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple
安装 openpyxl 模块:
python -m pip install openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple
Twilight6 发表于 2022-10-22 09:50
pandas 模块、openpyxl 模块 都可以对excel 进行操作
打开 cmd ,用 pip 安装 pandas 模块:
运行了,但是输入importxlrd没有输入完就弹出个框框,
页:
[1]