一、下载与安装PyCharm
1.前往官网下载软件:官网下载
2.选择对应的Mac系统,下载
![](https://i-blog.csdnimg.cn/blog_migrate/8cc8f5484cb7f576d16e418517ee9f4a.png)
![](https://i-blog.csdnimg.cn/blog_migrate/ac9ee9fc39f1fe7ed9d43a73ee6091c8.png)
3.下载完安装
![](https://i-blog.csdnimg.cn/blog_migrate/9cc04a5e65029569d20ea97c2261cfd2.png)
4.安装完成后,在应用程序可以找到对应的图标
![](https://i-blog.csdnimg.cn/blog_migrate/10c1722996fd2ab083821ac1baa20b3b.png)
二、启动PyCharm
1.启动,如下图所示(此处选择的是暂不导入设置,若需要破解可以选择前者):
![](https://i-blog.csdnimg.cn/blog_migrate/c425e475b20d8108c397d547228a5b54.png)
2.选择用户喜欢的模式,依据经验选择
![](https://i-blog.csdnimg.cn/blog_migrate/18088b4cd8ca7e4ee18f25f822269044.png)
3.编辑器颜色及字体
![](https://i-blog.csdnimg.cn/blog_migrate/404fb18038b921483a662d26ec01d680.png)
4.存储脚本的路径
![](https://i-blog.csdnimg.cn/blog_migrate/664098510d634285d952159c7a5d73cb.png)
三、安装Python
1.官网下载安装:官网下载安装
2.安装完,在终端中输入:Python,可以查看其版本
![](https://i-blog.csdnimg.cn/blog_migrate/51d8a58d01e78cdbaafb5393daca6744.png)
四、创建一个简单的例子
1.创建并配置工程
![](https://i-blog.csdnimg.cn/blog_migrate/e8d380521cb219b30f3fef4824ae815f.png)
2.新建一个HelloWorld的例子
![](https://i-blog.csdnimg.cn/blog_migrate/dbf7878c55fe7642c0ab9d13ac29247f.png)
输入文件名称
![](https://i-blog.csdnimg.cn/blog_migrate/be2ddb882423ae83d297f0a1479539d7.png)
输入代码,并运行,查看输出结果:
![](https://i-blog.csdnimg.cn/blog_migrate/0ebbe42dfb95f58c09fe4aa3713182ba.png)