Build the python compiler under notepad ++, notepadpython

Source: Internet
Author: User

Build the python compiler under notepad ++, notepadpython

1. By default, txt files are opened according to python encoding requirements.

Click Settings> language format Settings> Configure as needed

2. Build a python Compiler

A. Click ins> Plugin Manager> Show Plugin Manager> Available

Find and tick the left side of NppExec, and then click Install.
B. Press F6

Enter d: \ Python25 \ python.exe "$ (FULL_CURRENT_PATH )"

Replace "d: \ Python25 \ python.exe" with your own python installation path, and $ (FULL_CURRENT_PATH) must be enclosed by double quotation marks. Note that d: \ Python25 \ python.exe has a space in the middle of "$ (FULL_CURRENT_PATH )"

Add the preceding statement to OK, or click save and name the operation, for example, "run in python2.5"
C. At next compilation, you can directly click F6 on the txt file and click OK to compile it.
D. *** note that the modified file should be saved before each compilation. Otherwise, the compiler will compile the file before modification, resulting in an error in the result ***

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.