Diagram running a python program using the Sublime3 editor

Source: Internet
Author: User

1. First install an editor, download the link to release

Link: Https://pan.baidu.com/s/1c0cm8A Password: ucie


2. Open Sublime3

Tools--Compile system--compile new system

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/06/36/wKiom1mz6P_DxNj0AADBrqrFfhE871.png-wh_500x0-wm_ 3-wmp_4-s_1430925065.png "title=" qq picture 20170909210536.png "alt=" Wkiom1mz6p_dxnj0aadbrqrffhe871.png-wh_50 "/>

The following interface will appear

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/A4/E8/wKioL1mz7FqxOxLPAABWqabyT0g252.png-wh_500x0-wm_ 3-wmp_4-s_1410721282.png "title=" qq picture 20170909212047.png "alt=" Wkiol1mz7fqxoxlpaabwqabyt0g252.png-wh_50 "/>

To rewrite the text inside

{"cmd": ["C:/python34/python.exe", "-U", "$file"], "File_regex": "^[]*file \" (... *) \ ", line ([0-9]*)", "selector": "Source.python", "Encoding": "cp936",}

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/06/36/wKiom1mz7ZLy254qAABLd3TMQPc498.png-wh_500x0-wm_ 3-wmp_4-s_896189033.png "title=" qq picture 20170909212515.png "alt=" Wkiom1mz7zly254qaabld3tmqpc498.png-wh_50 "/>

Ctrl+s Save

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/06/36/wKiom1mz7hrRGXqeAAC8P1uR5sg289.png-wh_500x0-wm_ 3-wmp_4-s_3156716865.png "title=" qq picture 20170909212737.png "alt=" Wkiom1mz7hrrgxqeaac8p1ur5sg289.png-wh_50 "/>

Open a PY file hello.py point Tool--compile the system-->python3_run

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/06/37/wKiom1mz8IWhXxM-AADX66PQ3Ow891.png-wh_500x0-wm_ 3-wmp_4-s_3872482834.png "title=" qq picture 20170909213634.png "alt=" Wkiom1mz8iwhxxm-aadx66pq3ow891.png-wh_50 "/>

Ctrl+b execution

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/06/37/wKiom1mz8N3i8D5xAABY-2Hl0r8288.png-wh_500x0-wm_ 3-wmp_4-s_3383722696.png "title=" qq picture 20170909213909.png "alt=" Wkiom1mz8n3i8d5xaaby-2hl0r8288.png-wh_50 "/>



This article is from the "left-handed" blog, make sure to keep this source http://mofeihu.blog.51cto.com/1825994/1964002

Diagram running a python program using the Sublime3 editor

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.