Step 1: Installing Python
Python is an open-source programming language which can be freely downloaded in the
website of Python Software Foundation.
Installing Python in Windows
To install Python in Windows, you must first download the installation package of your
preferred version. This is the link to the different installation packages for Windows.
[Link]
The latest version of Python 3, Python 3.12.1
Which version should I use?
Python 2 is the older version and was published in late 2000. Python 3 was released in late
2008 to address and modify fundamental design errors of previous versions of the
language. It is regarded as the future of Python and is the version of the language that is
currently in development.
Running the Installation file
After completing the download step, you can install Python by clicking on the
downloaded .exe file. Setup is automatic. Standard installation includes IDLE, pip, and
documentation.
Page 1 of 3
Starting Python
IDLE is the integrated environment that you can use to write and run your programs in.
Both IDLE and command line interface is installed when you install Python.
Figure 1. Once you install Python into your computer both IDLE and command line
interface are installed.
IDLE versus the command line interface (CLI)
IDLE
IDLE offers a more advanced interface with many options for working with Python. You
can use it in the same way that you would use a command line and more. As an integrated
environment, it offers its own text editor which is easily accessible by clicking on a menu
item. Moreover, it has editing options which make writing programs or simply typing codes
more efficient.
Figure 2. IDLE’ s interface.
Page 2 of 3
The Command Line Interface (CLI)
The command line is useful for trying out lines of codes.
Figure 3. CLI’s interface.
Different ways to access Python’s command line
There are different ways to access Python’s command line or IDLE depending on the
operating system installed on your machine:
If you’re using Windows
You can start the Python command line by clicking on its icon or menu item on the Start
menu.
You may also go to the folder containing the shortcut or the installed files and click on the
Python command line.
Page 3 of 3