Run Python Program from IDLE

Previous
Next

Opening IDLE: We can search in the programs and open.

  • It opens the shell window as follows
  • We can execute simple command in shell window
  • We can write programs in editor window.
  • Take the “new” option from File menu in shell window.
  • It opens “untitled” editor window.

Untitled empty window as follows:

  • Write your code and Save with .py extension.
  • You can choose any location in your computer to save the file.

Choose the location and save as follows:

  • Run the code by click on Run module option from Run menu,
  • We can use the shortcut f5

We can see the output of code on shell window.

Previous
Next

2 Comments

  1. Nichole Shorb April 10, 2021
  2. Dottie Bollig April 11, 2021

Add Comment

Courses Enquiry Form