23.5.4 Running Python Program
23.5.4.1 Creating Python Program file in IDLE
If you want to create a Python program file in IDLE, use menu File àNew File. This will open a blank window, which is not an Python prompt, just an empty file. Here, you can write Python code, save it as a file, and run it. Then, the processing result appears in another window. Let’s enter the following sentence into a new window, save it as a file by using menu File à Save or [Ctrl + S], and then run it by using menu Run à Run Module or [F5] key. You can see that the result is displayed in the original Python Shell window.