手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

python如何安装办公自动化库python-docs?

时间:2024-10-12 02:47:54

1、使用组合键 win + R 打开运行界面。

python如何安装办公自动化库python-docs?

2、在运行窗口输入cmd,回车运行。

python如何安装办公自动化库python-docs?

3、此时命令提示符窗口被打开,在命令提示符窗口中输入指令pip install python-docx 。

python如何安装办公自动化库python-docs?

4、出现下载进度条,表示系统正在自动下载和安装python-docx。

python如何安装办公自动化库python-docs?

5、下载完毕,输入python然后回车进入python的交互模式。

python如何安装办公自动化库python-docs?

6、在python交互模式下,输入指令 import docx 并运行,如果同下图没有逻晶诚湮任何的提示,表示python-docx正常安装。

python如何安装办公自动化库python-docs?
© 手抄报圈