Python Editor – IDLE

IDLE is a suggested python editor for beginners. It is the basic Python editor. I gets installed automatically with Python installation.

Full form of IDLE is Integrated Development Environment. It allows all the basic operations such as Edit, Run, Browse and Debugging of Python programs.

IDLE provides 2 modes –

  1. Interactive/ Shell Mode
  2. Script Mode

Both the modes are explained as follows –

Interactive/ Shell Mode

It is good for beginners. It provides Python shell prompt. Symbol for Python Shell prompt is >>> . Python statements can be given and executed directly at Python prompt.

Shell Mode with example screen is mentioned below –

Interactive Mode

Script Mode

Python commands/ statements can be written in a file and saved with .py extension, is called as Python script. Python script/ program which is a collection of Python commands can later be executed collectively at Python Interpreter.

Script Mode with example screen is given below –

Script Mode

To summarise, IDLE is very good editor to start and learn Python for beginners.

Video Explanation for Python IDLE editor can be accessed from here

#python #pythoneditor #pythonidle #python3 #pythonforbeginners

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *