Sublime中配置python
2016-05-06 15:19
676 查看
1.打开sublime-->>tool-->>BuildSystem-->>New build system
2.输入以下代码 就是把中间的那段代码替换掉
"cmd": ["***********","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936",
***********为你的python的安装路径
3.在电脑的环境变量里加入你的Python的安装路径
4.Ctrol+S 保存名为Python.sublime-build
5.新建Python程序并保存
print("hello")
6.Ctrol+B
运行得结果
安装代码补全http://jingyan.baidu.com/article/f25ef25445b999482c1b82b4.html
2.输入以下代码 就是把中间的那段代码替换掉
"cmd": ["***********","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936",
***********为你的python的安装路径
3.在电脑的环境变量里加入你的Python的安装路径
4.Ctrol+S 保存名为Python.sublime-build
5.新建Python程序并保存
print("hello")
6.Ctrol+B
运行得结果
安装代码补全http://jingyan.baidu.com/article/f25ef25445b999482c1b82b4.html
相关文章推荐
- Python list dict iteration
- 练习008-009
- 你会用Python做出装逼的东西吗
- 【原】Spark之机器学习(Python版)(一)——聚类
- python: 知乎大规模(34k)用户爬虫
- 对Python的深度学习库Theano的介绍
- pythong中字符串strip的用法
- python中write没有写入是什么情况
- python 调用系统命令,并将输出重定向,输出其结果至文件或者字符串变量
- python 打印出执行函数及其所在路径以及行号
- python basestring( )
- Anaconda多环境多版本python配置指导
- Python中的正则表达式(re)
- 在线生成UUID、Python生成唯一UUID(Universally Unique IDentifier )
- Python中 os 与 sys 模块
- Python语言中 import 与 reload 的使用问题
- python-面向对象的基本概念
- python之decode、encode及codecs模块
- Python的UTC时间转换
- 用Python抓取指定页面