"Run" button; then enter the command "cmd /k cd /d "$(CURRENT_DIRECTORY)" ..."; finally use the set shortcut keys to run py directly program."/> "Run" button; then enter the command "cmd /k cd /d "$(CURRENT_DIRECTORY)" ..."; finally use the set shortcut keys to run py directly program.">
Home > Article > Development Tools > How to run py in notepad
How to run py in notepad?
Notepad ->"Run" menu->"Run" button
Recommended: "notepad usage tutorial"
Enter the command: cmd /k cd /d "$(CURRENT_DIRECTORY)" & python "$(FULL_CURRENT_PATH)" & ECHO. &ECHO. & PAUSE & EXIT, click save and set the shortcut key
Run Python script
1) Click to run
2) Shortcut key to run: Use the set shortcut key to run it directly
The above is the detailed content of How to run py in notepad. For more information, please follow other related articles on the PHP Chinese website!