sublime text

使用技巧
多行编辑control+shift+方向键
分屏command+option+2
括弧跳转control+m

配置python环境
win7下python最高版本为python-3.8.10
安装Python后,进入C:\Users\jxswcy\AppData\Roaming\Sublime Text 3\Packages\User,加入Python3.sublime-build,内容如下

1
2
3
4
5
6
7
8
9
10
{
"env": {"PYTHONIOENCODING": "utf8"},

"cmd": ["C:/Users/jxswcy/AppData/Local/Programs/Python/Python38/python.exe","-u","$file"],

"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",

"selector": "source.python",

}

以上注意修改用户名路径
tools-bulid system 选择python3
注意,python文件需保存,否则会报错can't find '__main__' module in ''