IDLE Create a new Python file
After opening IDLE, click File in the upper left corner, then click the first item NewFile to create 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.
The above is the detailed content of How to open the compiler that comes with python. For more information, please follow other related articles on the PHP Chinese website!