Python环境配置, atom-python配置

环境变量

路径

在window下配置环境变量,配置到文件夹级就可以了:

D:programpython3

编码

因为windows默认的编码是ASIIC,所以使用atom时候中文是乱码,需要在环境变量中增加编码:

变量名:PYTHONIOENCODING
变量值:utf-8

也可以在setting中将Encoding项设置为gbk

插件

常用版:

atom-beautify
atom-Runner
autocomplete-clang
autocomplete-modules
autocomplete-python
block-comment-plus
highlight-selected
linter
linter-python
simplified-chinese-menu
tree-view-finder

完整版:

├── atom-beautify@0.29.11
├── atom-python-run@0.5.1
├── autocomplete-clang@0.9.4
├── autocomplete-modules@1.6.1
├── autocomplete-paths@1.0.2
├── autocomplete-python@1.8.6
├── block-comment-plus@0.4.0
├── build@0.65.0
├── busy@0.6.0
├── file-icons@1.7.19
├── git-plus@5.16.2
├── highlight-selected@0.11.2
├── hyperclick@0.0.37
├── language-ini@1.16.0
├── linter@1.11.16
├── linter-flake8@1.13.4
├── linter-gcc@0.6.15
├── linter-pylama@0.6.0
├── linter-python@3.0.5
├── linter-python-pep8@0.2.0
├── MagicPython@0.5.15
├── platformio-ide@1.4.0
├── platformio-ide-terminal@2.2.0
├── project-manager@2.9.7
├── python-autopep8@0.1.3
├── python-debugger@0.1.0
├── python-indent@0.4.3
├── python-isort@0.0.7
├── python-jedi@0.3.7
├── python-tools@0.6.8
├── python-yapf@0.11.0
├── script@3.9.0
├── seti-ui@1.3.2
├── terminal-plus@0.14.5
├── tool-bar@1.0.1
└── tree-view-finder@0.2.1

原文地址:https://www.cnblogs.com/bugstar/p/7809281.html