0% found this document useful (0 votes)
24 views3 pages

Python Installation Guide for Beginners

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)
24 views3 pages

Python Installation Guide for Beginners

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

PYTHON INSTALLATION & GETTING

STARTED GUIDE
For Form 1–3 Computer Science Learners

🧩 PART 1: INSTALLING PYTHON


✅ Step 1: Download Python

1. Open your web browser (e.g. Google Chrome).


2. Go to the official Python website:
👉 [Link]
3. On the home page, click “Downloads”.
4. The site will automatically suggest the correct version for your computer, e.g.
“Download Python 3.12.x” (latest version).
5. Click the yellow button to start downloading.

✅ Step 2: Run the Installer

1. Open your Downloads folder.


2. Double-click the file that starts with python-3 (e.g. [Link]).
3. A setup window will appear.

VERY IMPORTANT:
Before you click Install Now,
👉 Tick the box that says “Add Python 3.x to PATH”
Then click Install Now.

4. Wait for installation to finish (takes 2–5 minutes).


5. When done, click Close.

✅ Step 3: Check That Python Installed Correctly

1. On your computer, click Start (Windows logo).


2. Type cmd and open Command Prompt.
3. Type this command and press Enter:
4. python --version
5. You should see something like:
6. Python 3.12.3

✅ That means Python is successfully installed!


💻 PART 2: USING IDLE (Python’s Built-In Editor)
✅ Step 1: Open IDLE

1. Click Start Menu.


2. Type IDLE in the search box.
3. Click IDLE (Python 3.x 64-bit).
4. A white window with the title Python Shell will open.
o It looks like this:
o >>>

This is the Python Shell, where you can type one command at a time.

✅ Step 2: Try Simple Commands

At the >>> prompt, type:

print("Hello, Python!")

and press Enter.


You should see:

Hello, Python!

🎉 Congratulations — you’ve just run your first Python command!

✅ Step 3: Create a Python Program

1. In IDLE, click File → New File.


A blank window will open — this is your program editor.
2. Type this program:
3. name = input("What is your name? ")
4. print("Welcome", name)
5. Click File → Save As...
o Save it as [Link]
o Choose a folder (e.g. “Documents”)
6. To run your program, press F5 or click Run → Run Module.
7. The Python Shell will open and show:
8. What is your name? Norman
9. Welcome Norman

🧠 TIPS FOR LEARNERS


 Always save your work before running.
 Program files always end with .py.
 Use print() to display messages.
 Use input() to get user input.
 Be careful with capital letters — Python is case-sensitive.

You might also like