Home > Article > Backend Development > 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
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.
Get a file name and save successfully!
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.
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!