Python Programing Lab Manual
Name of Student
Registration ID
AIM:- Running instructions in Interactive interpreter and a Python Script.
PROCEDURE TO INSTALL AND RUN PROGRAMS IN PYTHON:-
In order to install python, Visit https://www.python.org. When we visit the Python for
Windows download page, we’ll immediately see the division. Right at the top, square
and centre, the repository asks if you want the latest release of Python 3 (3.6.1 and
3.9.6) as shown in below Figure.
Click the Download Python 3.9.6 button. The following pop-up window titled Opening
python-3.96-amd64.exe will appear.
Click the Save File button.
The file named python-3.9.6-amd64.exe should start downloading into your
standard download folder. This file is about 25 Mb so it might take a while to
download fully if you are on a slow internet connection (it took me about 10
seconds over a cable modem).
The file should appear in your Downloads folder as
Move this file to a more permanent location, so that you can install Python
(and reinstall it easily later, if necessary).
Feel free to explore this webpage further; if you want to just continue the
installation, you can terminate the tab browsing this webpage.
Start the Installing instructions directly below.
INSTALLING:-
Double-click the icon labelling the file python-3.9.6-amd64.exe.
A Python 3.9.6 (64-bit) Setup pop-up window will appear.
Ensure that both the Install launcher for all users (recommended) and
the Add Python 3.9 to PATH checkboxes at the bottom are checked: typically
only first is checked by default.
If the Python Installer finds an earlier version of Python installed on your
computer, the Install Now message may instead appear as Upgrade Now (and
the checkboxes will not appear).
Highlight the Install Now (or Upgrade Now) message, and then click it.
When run, a User Account Control pop-up window may appear on your
screen. I could not capture its image, but it asks, Do you want to allow this
app to make changes to your device.
Click the Yes button.
A new Python 3.9.6 (64-bit) Setup pop-up window will appear with a Setup
Progress message and a progress bar.
During installation, it will show the various components it is installing and
move the progress bar towards completion. Soon, a new Python 3.9.6 (64-bit)
Setup pop-up window will appear with a Setup was successfully message.
Click the Close button.
Python should now be installed
VERIFYING
To try to verify installation,
Navigate to the directory
C:\Users\Pattis\AppData\Local\Programs\Python\Python39 (or to whatever
directory Python was installed: see the pop-up window for installing step 1).
Double-click the icon/file python.exe
The following pop-up window will appear.
A pop-up window with the title
C:\Users\Pattis\AppData\Local\Programs\Python\Python39\python.exe ap
pears, and inside the window; on the first line is the text Python 3.9.6
... (notice that it should also say 64 bit). Inside the window, at the bottom left,
is the prompt >>>: type exit() to this prompt and press enter to terminate
Python