sublime text python开发环境设置

2024-10-24 20:23:52

1、打开桌面sublime text软件;

sublime text python开发环境设置

3、点击之后系统会生成一个默认的配置文件;

sublime text python开发环境设置

4、我们訇咀喃谆将其修改为如下内容(填写你系统实际的python.exe目录,不要改斜杠):{ "cmd": ["C:/Python27/python.e旌忭檀挢xe","-u","$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python", }

sublime text python开发环境设置

6、打开Tools > Build System > Python2 (选择新建的python2即可);

sublime text python开发环境设置

8、再次按下键盘组合键"Ctrl+S"命名并保存测试py文件;

sublime text python开发环境设置
猜你喜欢