Home  >  Article  >  Backend Development  >  How to run python's idle

How to run python's idle

silencement
silencementOriginal
2019-05-21 13:37:4160334browse

How to run python's idle

How to run idle in python:

IDLE creates a new Python file

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

How to run pythons idle

How to run pythons idle

Save the file

Use directly Shortcut key, Ctrl S, can save quickly. You can also click File in the upper left corner of the window and then click Save to complete the saving.

How to run pythons idle

Get a file name and save successfully!

How to run pythons idle

Run the saved Python file (program)

Run the Python program directly in IDLE. Click Run at the top of the window, then click RunModule to run the program. You can also run it quickly through the shortcut key F5.

How to run pythons idle

Related learning recommendations: python tutorial

The above is the detailed content of How to run python's 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