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"
2. In the created file Write some code in the Python file:
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:
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!