Home > Development Tools > notepad > How to run python in notepad

How to run python in notepad

藏色散人
Release: 2019-11-02 10:14:30
Original
4888 people have browsed it

How to run python in notepad

How to run python in notepad?

Open NotePad.

Recommended: "notepad usage tutorial"

How to run python in notepad

Click the F5 key to pop up the run dialog box.

How to run python in notepad

Enter the following command in the input box:

cmd /k python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT
Copy after login

How to run python in notepad

Click save, and a shortcut key setting menu will pop up. dialog box.

Name it as python and set the shortcut key to Ctrl Shift F5.

How to run python in notepad

Then, there is one more option in the run menu.

How to run python in notepad

Then create a new 0.py file and enter a line of python command.

How to run python in notepad

Then, hit the shortcut key Ctrl Shift F5 to run.

A cmd window pops up, indicating that the operation is successful.

How to run python in notepad

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!

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Why is my hosts notepad blank?
From 1970-01-01 08:00:00
0
0
0
Teacher Notepad++ how to make prompt code
From 1970-01-01 08:00:00
0
0
0
Notepad++ will not use
From 1970-01-01 08:00:00
0
0
0
The contents of hosts notepad are incorrect
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template