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 ***