sublime2配置python环境
2015-10-23 17:07
661 查看
只需要在以下文件写入python编译器的路径:
在工具栏点击Preferences,打开Browse Packages。在打开的文件夹中找到Python,并打开这个文件夹。找到文件Python.sublime-build,并打开。在字典中添加一行"path": "F:\\python27":
{
"cmd": ["python", "-u", "$file"],
"path": "F:\\python27",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
CTRL+B就可以运行python程序了。
----------
如果需要调整字体大小,点击Preferences->Settings-User,在字典中加入一行:
"font_size": 12
在工具栏点击Preferences,打开Browse Packages。在打开的文件夹中找到Python,并打开这个文件夹。找到文件Python.sublime-build,并打开。在字典中添加一行"path": "F:\\python27":
{
"cmd": ["python", "-u", "$file"],
"path": "F:\\python27",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
CTRL+B就可以运行python程序了。
----------
如果需要调整字体大小,点击Preferences->Settings-User,在字典中加入一行:
"font_size": 12
相关文章推荐
- python urlencode
- python调用新浪API爬虫
- Python学习之路一--(基础知识)
- 添加用户的脚本
- K近邻分类算法实现 in Python
- python列表内,中文编码的问题。
- python处理JSON数据
- RC4算法Python实现
- Sublime Text 3 python 配置
- 【爬虫之路】一点有关学习BeautifulSoup的笔记
- LeetCode[Math]----Pow(x, n)
- 转载:帮你提升 Python 的 27 种编程语言
- python中的StringIO模块——html
- python中的StringIO模块
- Python学习记录
- python基础
- python学习手册三:字符串的简单介绍
- 【Python爬虫实战--2】时间戳转换为指定格式日期
- 对客户推荐产品模型+python代码
- python if-else