The first step is to open notepad and find the run menu in the menu bar.
The second step is to select run in the submenu.
Related recommendations: "Notepad usage graphic tutorial"
The third step, in the small window that pops up, enter cmd /k python "$(FULL_CURRENT_PATH)" & PAUSE & EXIT, click save.
The fourth step is to create a new script command, name it run python, and set the shortcut key to ctrl shift P, which is easy to remember.
The fifth step is to return to notepad and select run python in the run submenu to debug python directly.
The above is the detailed content of How to run python in notepad++. For more information, please follow other related articles on the PHP Chinese website!