0% found this document useful (0 votes)
9 views2 pages

Week 1 Observation

Uploaded by

Aarush Pitla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Week 1 Observation

Uploaded by

Aarush Pitla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Week-1

Installation of Python on Windows 10/11


Step 1 — Downloading the Python Installer
1. Go to the official website: http://www.python.org
2. Find a stable Python 3 release. This tutorial was tested with Python version 3.12.4.
3. Click the appropriate link for your system to download the executable file: Windows
installer (64-bit) or Windows installer (32-bit).
Step 2 — Running the Executable Installer
1. After the installer is downloaded, double-click the .exe file, for example python-
3.12.4-amd64.exe, to run the Python installer.
2. Select the Install launcher for all users checkbox, which enables all users of the
computer to access the Python launcher application.
3. Select the Add python.exe to PATH checkbox, which enables users to launch
Python from the command line.
4. If you’re just getting started with Python and you want to install it with default
features as described in the dialog, then click Install Now and go to Step 4 - Verify
the Python Installation. To install other optional and advanced features,
click Customize installation and continue.
5. The Optional Features include common tools and resources for Python and you
can install all of them, even if you don’t plan to use them.
Select some or all of the following options:
6. Click Next.
7. The Advanced Options dialog displays.

Select the options that suit your requirements:

8. Click Install to start the installation.


9. After the installation is complete, a Setup was successful message displays.

Step 3 — Adding Python to the Environment Variables (optional)


Skip this step if you selected Add Python to environment variables during
installation.
1. Go to Start and enter advanced system settings in the search bar.
2. Click View advanced system settings.
3. In the System Properties dialog, click the Advanced tab and then
click Environment Variables.
4. Depending on your installation:
 If you selected Install for all users during installation, select Path from the list of System
Variables and click Edit.
 If you didn’t select Install for all users during installation, select Path from the list of User
Variables and click Edit.
5. Click New and enter the Python directory path, then click OK until all the dialogs are
closed.
Step 4 — Verify the Python Installation
Go to Start and enter cmd in the search bar. Click Command Prompt.

Enter the following command in the command prompt:


python --version

An example of the output is:

Output
Python 3.12.4
You can also check the version of Python by opening the IDLE application. Go
to Start and enter python in the search bar and then click the IDLE app, for
example IDLE (Python 3.12 64-bit).

You can start coding in Python using IDLE or your preferred code editor.

You might also like