To install python

Download and install the latest version of python 3.

In windows:

“pip” is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes.
Full form of pip : Python Index Project or Pip installs python or Pip installs packages or preferred installer program.

Install pyreadline using windows command prompt.

pip install pyreadline

Note:  Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in

First python program.

Now open the IDLE . Click File -> New file and type the following program.

Save the file and click f5 to run the program. You will see the output as shown below in the IDLE.

%d bloggers like this: