Python IDLE

To run a Python program, it’s always a good option to use an Integrated Development Environment (IDE). When you install Python, it will come bundled with IDLE. It is the Integrated Development Environment for Python. The IDLE gets installed with the Python installation since Python 1.5, and you don’t need to install any other IDE. Isn’t it great?

IDLE is short for Integrated Development and Learning Environment, and here are its features:

  • Has Python Shell
  • Cross-Platform
  • Text Editor with syntax highlighting.
  • Persistent breakpoints
  • Smart indent

After installing Python, use the IDLE to run your first program. Here are the steps to run a basic program in IDLE:

Go to START > Python IDLE and open it.

Open Python IDLE

Now, the IDLE can be seen. Click on it and open:

Python IDLE opens

Type a basic Python program as shown below:

Run first program on Python IDLE

Now, press ENTER and get the result:

Output on Python IDLE

Press CTRL+S and save it as Demo.py:

Above, we printed a single line and displayed the result. This is how you can run Python programs in IDLE.


If you liked the tutorial, spread the word and share the link and our website Studyopedia with others.


For Videos, Join Our YouTube Channel: Join Now

Type Conversion in Python
Python Operators with Examples
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

3 Comments
  • Augustine M N
    Posted at 15:01h, 30 April Reply

    Happy as I start my new journey in this platform, I hope to gain new and helpful knowledge.

  • Effiong God'spower Obo
    Posted at 04:31h, 23 July Reply

    its my first time here i wish to get the best out of it great work guys

  • Dhruba
    Posted at 12:46h, 18 November Reply

    I want to learn Python. Please guide me.

Post A Comment