Home > Backend Development > Python Tutorial > How to use idle in python

How to use idle in python

藏色散人
Release: 2019-07-05 09:50:52
Original
5714 people have browsed it

How to use idle in python

How to use idle in python?

pythonUse IDLE to run Python programs

IDLE creates a new Python file

After opening IDLE, click File in the upper left corner, and then click the first Select NewFile to create a python file. Or directly use the shortcut keys

Ctrl N

to quickly create.

How to use idle in python

Write Python code in the created file

How to use idle in python

How to use idle in python

Save the file

Use the shortcut keys directly

Ctrl S

to 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 use idle in python

Choose a file name and save successfully!

How to use idle in python

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 use the shortcut key

F5

to run quickly.

How to use idle in python

Related recommendations: "Python Tutorial"

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

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template