Linux Sublime Python

Source: Internet
Author: User

(iii) Configuring the PYTHON3 compilation Environment

1. Click the upper menu bar tools->build system->new Build System

2. After clicking, an empty configuration file appears, and the following code is copied to this empty configuration file:

?
12345 { "cmd": ["/usr/local/bin/python3", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python"  }

Among them,/usr/local/bin/python3 for the system to install Python environment path, in Ubuntu, for example, open terminal, input which python3 can display the path Python3.

3. Save the configuration file, the default open pop-up box is saved under the path named Python3.sublime-build.

4. Finally, in Sublime Text3, click Tools->build System to select Python3, you can use Ctrl+b call Python3 for code compilation.

At this point, all the configuration has been finished!!!

The above is the whole content of this article, I hope that everyone's learning has helped, but also hope that we support the script home.

Linux Sublime Python

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.