Atom安装Python相关组件
1.检查Python库支持
(1)Settings里先查看一下是否有Python支持,博主这里因为安装了Python库所以显示Disable

atom配置python开发环境

 

2.安装Python的适合Atom的IDE、UI、Server和运行工具
(1)打开cmd,运行以下指令安装python-language-server

pip install python-language-server[all]

(2)安装支持各种语言IDE的UI界面,+Install里搜索atom-ide-ui
如图所示

atom配置python开发环境

(3)同理,安装ide-python:

atom配置python开发环境
(4)最后最重要的,安装运行工具atom-python-run:

  atom配置python开发环境

其中按F5是运行,F6是暂停~

               atom配置python开发环境                             

(5)最终下载的包可以在这个文件里看到C:\Users\你的电脑用户名字\.atom\packages

atom配置python开发环境

                               

*三、运行代码范例

我们点击F5,可以看到程序运行成功!!

 

相关文章: