Home > Development Tools > sublime > Sublime shortcut keys for running Python code

Sublime shortcut keys for running Python code

藏色散人
Release: 2020-09-02 11:54:20
forward
5914 people have browsed it

The following tutorial column of sublime will introduce you to the shortcut keys for running Python code in sublime. I hope it will be helpful to friends in need!

Sublime shortcut keys for running Python code

To configure the python environment variables first, open sublime text, click tools, then select build system, select new build system, and write

{ 
“cmd”: [“D:/Python34/python.exe(ps:你的python安装路径)”, “-u”, “$file”], 
“file_regex”: “^[ ]File \”(…?)\”, line ([0-9]*)”, 
“selector”: “source.python”
 }
Copy after login
in the file

Change the file name: python.sublime-build, save it directly, and then Ctrl B to run it

The above is the detailed content of Sublime shortcut keys for running Python code. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:zhihu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template