Home  >  Article  >  Development Tools  >  How to run python program in notepad?

How to run python program in notepad?

藏色散人
藏色散人Original
2019-11-04 10:38:314996browse

How to run python program in notepad?

How does notepad run python programs?

1. Find the anaconda installation directory, then find python.exe, and copy its path. My personal one is G:\Anaconda3\python.exe, which can be seen in the properties.

Recommended: "notepad usage tutorial"

How to run python program in notepad?

2. Press F5 in Notepad and enter cmd /k G:\Anaconda3 \python.exe "$(FULL_CURRENT_PATH)" & PAUSE & EXIT

How to run python program in notepad?

3. Save and set shortcut keys

How to run python program in notepad?

4.Test

How to run python program in notepad?

The above is the detailed content of How to run python program in notepad?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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