How to use python idle

藏色散人
Release: 2019-10-24 10:28:43
Original
5091 people have browsed it

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!