notepad++ Setting Run Python program

Source: Internet
Author: User

notepad++ Setting Run Python program


After installing Python, add Python to the environment variables of the system, and then you need to configure an editing environment that uses notepad++ as Python, and you need to set up Autorun, such as Python 2.7, which is installed as follows:


1. Open the notepad++ main screen, click "Run-run", or press "F5" shortcut key.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/87/wKioL1SznQSBwOjBAABtxW62bEA218.jpg "title=" 1.png " alt= "Wkiol1sznqsbwojbaabtxw62bea218.jpg"/>

2. Enter cmd/k C:\Python27\python.exe "$ (Full_current_path)" in the Pop-up dialog box & PAUSE & EXIT

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/8B/wKiom1SznFHTWGfHAAB_Z0-v9G0966.jpg "title=" 2.png " alt= "Wkiom1sznfhtwgfhaab_z0-v9g0966.jpg"/>

3. After clicking "Save", set the shortcut keys for Autorun and set a name, such as Run Python, and click "OK".

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/87/wKioL1SznSiDbMs3AAByiGvQQTg152.jpg "title=" 3.png " alt= "Wkiol1sznsidbms3aabyigvqqtg152.jpg"/>

4. Edit the Python file, press the set shortcut key to run, press any key to exit.

This article is from the "Hello3389 blog" blog, make sure to keep this source http://hello3389.blog.51cto.com/1171990/1602596

notepad++ Setting Run Python program

Related Article

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.