Home  >  Article  >  Backend Development  >  How to use python idle

How to use python idle

藏色散人
藏色散人Original
2019-10-24 10:28:435076browse

How to use python idle

How to run python idle?

After opening IDLE, click File in the upper left corner, then click the first item NewFile to create a python file. Or directly use the shortcut key Ctrl N to quickly create a file:

Recommended: "python tutorial"

How to use python idle

2. In the created file Write some code in the Python file:

How to use python idle

3. To save the file, use the shortcut key Ctrl S to save quickly, and then run the saved Python file directly in IDLE To run the Python program, click Run at the top of the window, and then click RunModule to run the program. You can also run it quickly through the shortcut key F5. The above is the process of running files in python idle:

How to use python idle

The above is the detailed content of How to use python idle. 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