Can notepad run py?
notepad can run py.
1. Use Notepad to edit python files and run them directly
Recommendation: "notepad usage tutorial"
1. Use notepad to open the python file. Or create a new file and save it in .py format.
#2. Run the python file directly
Press F5.
Input in the pop-up menu: cmd /k C:\Users\Fengqiao_x\AppData\Local\Programs\Python\Python36\python.exe "$(FULL_CURRENT_PATH)"& PAUSE & EXIT Note: The path must be is your python path.
Click Save. Enter your favorite name and shortcut key (choose a shortcut key that is easy to remember, and the shortcut key definition cannot be repeated). Then click OK.
Press the shortcut key you just entered to run the current python file. In the future, you only need to press the shortcut key to run the python file, no previous steps are required. The effect is as follows.
The above is the detailed content of Can notepad run py?. For more information, please follow other related articles on the PHP Chinese website!