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