First, installationPython plugin
1. Plugin ->plugin manager->show Plugin Manager, available tab,
2. Search python and download a python plugin, such as python Script
Second, configuration operationmenu and shortcut keys for Python
1. Open notepad++, click the menu "Run (R)"-"Run (r) ..."
2. Enter the Run Program name and enter the following command
cmd/k python "$ (full_current_path)" & ECHO. & PAUSE & EXIT
3. Click "Save ..." to take any name, such as "Run Python", configure a shortcut key such as CTRL + ALT + F2, click ok
The configuration is complete. Under the Run menu, there is a button called run Python.
Three, try it.
1. New Python Script
2. Tap the next line of code: print ("Hello"), Save as test.py
3. Click Run->run python, or press CTRL+ALT+F2 to execute the current python code.
notepad++ Configuring the Python Development Environment (Windows)