How To Download, Install and Use Python Idle Editor?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/download-install-and-use-python-idle-editor/
PINTEREST
PINTEREST
INSTAGRAM

Python is popular programming language used by a lot of people from different professions. Python is a scripting language supported by different platforms and operating systems like Windows, Linux, MacOs, BSD etc. Developing and running python can be done in different ways but in practical way we generally need some editor. Python Idle is simple editor which provides basic features of advanced Integrated Development Environments.

Install For Windows

In Windows Idle is provided with the Python libraries and executable. In this tutorial we will download Python 3.6 with Idle from the following link. We prefer 64 bit Python.

https://www.python.org/ftp/python/3.6.3/python-3.6.3-amd64.exe

Install For Windows

Install For Windows

Install For Ubuntu, Debian, Mint, Kali

We can install idle with different ways but easiest and reliable way is using package manager named apt .

Install For Ubuntu, Debian, Mint, Kali

Install For Ubuntu, Debian, Mint, Kali

Install For Fedora, CentOS, RHEL

We can install Python Idle in the Fedora, CentOS and RHEL distributions like below.

Interactive Python Shell

Idle main window is an interactive Python shell. We can use this shell for simple and fast scripting. This console provides following features.

  • Creating and saving script files
  • Editing script files
  • Creating new Python shells
  • Debugging Python scripts
Interactive Python Shell

Interactive Python Shell

Create New File

Idle opens Python shell by default. Shell can be used simple scripts or test but for bigger projects we should create a python script file and save our code to this file. We can create a script file from File->New File menu like below. After completing coding we should save the file with related name.

Create New File

Create New File

Run Script File

We will use following code to run. We will use F5 in order to run following code. Alternative way to run is click Run->Run Module from menu.

LEARN MORE  Python Convert String To Int

This will open Idle shell window and run our script in the Python shell as we can see below.

Run Script File

Run Script File

 

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/download-install-and-use-python-idle-editor/
PINTEREST
PINTEREST
INSTAGRAM

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)