Python- Using the IDLE to run your program

  1. Start up the IDLE. Then under File, select New Window or prss CTRL + N, which will open up an untitled window. This is where we will be writing our first program.python12
  2.  In the untitled window, write your first programpython13
  3. Give the file a name and save it ( in this case)
  4. Next, under Run, select Run Module
  5. Now in the main window (IDLE SHELL), you will see the output as shown below:python15
  6. The SHELL is restarted every time one runs a module in IDLE. We can now proceed to writing full length programs!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s