Python办公自动化 2.1开发环境搭建:PyCharm社区版配置Anaconda开发环境

课程大纲

第二章 Python10分钟入门
【2.1】:PyCharm社区版配置Anaconda开发环境
【2.2】:Python基础知识及正则表达式入门

第三章 Python操作Excel
【3.1】:xlrd 使用教程 读取 操作Excel
【3.2】:xlwt 使用教程 写入 操作Excel
【3.3】:xlutils 使用教程 修改 操作Excel
【3.4】:xlwings 使用教程 读取 写入 修改 操【作Excel
【3.5】:openpyxl 使用教程 读取 写入 修改 操作Excel
【3.6】:xlswriter 使用教程 读取 写入 修改 操作Excel
【3.7】:win32com 使用教程 读取 写入 修改 操作Excel
【3.8】:pandas 使用教程 读取 写入 修改 操作Excel

第四章 Python操作word
【4.1】:win32com 使用教程 操作word
【4.2】:python-docx 使用教程 操作word

第五章 Python操作ppt
【5.1】:win32com 使用教程 操作复制ppt PowerPoint
【5.2】:python-pptx 使用教程 操作ppt PowerPoint 添加文字 形状图表

本篇文章主要讲述了如何在windows主机上配置 PyCharm + Anaconda开发环境、以及了如何配置 PyQt界面开发环境,安装过程超级详细,初学者可以照着一步一步来!

2.1 开发环境搭建

2.1.1 Anaconda下载

Anaconda指的是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项。

官网网址:https://www.anaconda.com/

image-20200613105054576

下载地址:https://www.anaconda.com/products/individual

image-20200613110736378

2.1.2 PyCharm下载

官网地址:https://www.jetbrains.com/pycharm/

image-20200613105658013

下载地址:https://www.jetbrains.com/pycharm/download/#section=windows

image-20200613105615057

2.1.3 Anaconda安装

准备好Anaconda安装包:Anaconda3-2020.02-Windows-x86_64.exe

image-20200613114941517

image-20200613111950585

image-20200613112000944

image-20200613112018107

image-20200613112112291

image-20200613112241678

image-20200613112250401

image-20200613112551470

image-20200613112601194

image-20200613112739399

image-20200613112921095

2.1.4 PyCharm安装及配置Anaconda环境

① PyCharm安装

准备好PyCharm安装包:pycharm-community-2020.1.2.exe

image-20200613114954824

image-20200613115011528

image-20200613115047069

image-20200613115212468

image-20200613115230276

image-20200613115245570

image-20200613115401920

image-20200613115427980

image-20200613115506274

image-20200613115521333

image-20200613115544582

image-20200613115551973

image-20200613115631889

② Anaconda环境配置

image-20200613115753776

image-20200613115849651

image-20200613115933305

image-20200613120105862

image-20200613120137019

③ 创建Python新工程

image-20200613120218215

image-20200613120418826

image-20200613120651839

image-20200613140920141

image-20200613140930060

image-20200613141000558

⑤ 添加项目文件

image-20200613141310722

image-20200613141358289

image-20200613141440085

⑥ 测试工程

在代码编辑区添加如下代码,按键盘上的组合键 “Ctrl+Shift+F10” 运行文件

print("Python 办公自动化,我来啦!")

image-20200613141720187

2.1.5 PyQt安装及配置

如果要用Python写界面程序,可以使用PyQt,可以参考我的另一篇博客,此处不再赘述。

博客地址: https://tangxing.blog.csdn.net/article/details/105049907

猜你喜欢

转载自blog.csdn.net/u014779536/article/details/106732026