Build a python compiler under notepad++

Source: Internet
Author: User

1. Default to allow TXT files to be constrained by Python encoding requirements when opened

Click Settings, language format settings, and follow the configuration

2. Build a python compiler

A. Click on the plugin >>plugin manager>>show Plugin manager>>available

Locate and tick the left of the nppexec, then click Install.
B. Press F6

Enter D:\Python25\python.exe "$ (Full_current_path)"

where "D:\Python25\python.exe" needs to be replaced by its own Python installation path, and $ (full_current_path) must be enclosed in English double quotation marks, and note that d:\Python25\python.exe with "$ ( Full_current_path) "There's a space in the middle.

Add the above statement directly OK, or point to save, and give the operation a name, such as "Run in python2.5"
C Next compile, you can directly click on the TXT file F6, click OK to compile
d.*** Note that you should save the modified file before compiling, or the compiler will compile the modified file, resulting in an error. * *

Build a python compiler under notepad++

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.