Home > Development Tools > sublime > Detailed explanation of how to configure sublime text3 to run python under win10

Detailed explanation of how to configure sublime text3 to run python under win10

藏色散人
Release: 2021-07-12 20:05:32
forward
4849 people have browsed it

The following tutorial column will introduce you to sublime text3 configuration and running python from the sublime tutorial column. I hope it will be helpful to friends in need!

Detailed explanation of how to configure sublime text3 to run python under win10

How to run python on sublime text 3 under win10 system

First you need to configure the python environment

Download (Find a version you like on the official website)

https://www.python.org/downloads/windows/

Select Add Python 3.7 to PATH and Install Now

Complete

Check whether the installation is successful

(As shown in the picture is successful )

Open sublime text3--tools--build system--new build system

Input (******* is the python installation path with description at the end)

{
 "cmd": ["********","-u","$file"],
 "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
 "selector": "source.python",
}
Copy after login

Save under sublime text3 --package--users

It can be run after completion

Finally, let’s talk about finding the installation path (you need to change \ to / when writing)

The above is the detailed content of Detailed explanation of how to configure sublime text3 to run python under win10. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.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