👋 Work With Me

I help startups and teams build production-ready apps with Django, Flask, and FastAPI.

Let’s Talk →

I'm always excited to take on new projects and collaborate with innovative minds.

Address

No 7 Street E, Federal Low-cost Housing Estate, Kuje, Abuja 903101, Federal Capital Territory

Social Links

Tutorials

Python Tutorial Series – Lesson 1: Getting Started with Python (Installation & Hello World)

Python Tutorial for Beginners (Lesson 1): Learn how to install Python, set up VS Code, and write your first Hello World program with exercises and screenshots.

Python Tutorial Series – Lesson 1: Getting Started with Python (Installation & Hello World)

Welcome to Lesson 1 of the Python Tutorial Series for Beginners! 🎉

In this first lesson, we’ll cover:

  • What Python is and why it’s popular
  • How to install Python on your computer
  • Setting up a code editor (VS Code)
  • Writing and running your very first Python program

By the end of this lesson, you’ll have Python running on your system and a working “Hello, World!” program. 🚀


🔹 What is Python?

Python is a high-level, beginner-friendly programming language known for its simple syntax and wide range of applications — from web development and data analysis to AI, automation, and game development.

It’s a great first language because:

  • Easy to read and write (like plain English)
  • Huge community and support
  • Lots of free tutorials and libraries

🔹 Step 1: Installing Python

  1. Go to the official website: https://www.python.org/downloads/
  2. Download the latest version of Python (at least Python 3.10 or above).
  3. During installation, check the box “Add Python to PATH” (important step).
  4. Complete the installation process.

Python installation wizard (show “Add Python to PATH” checked)
 


🔹 Step 2: Verify Installation

Open your terminal (Command Prompt on Windows, Terminal on Mac/Linux) and type:

 
python --version 

or sometimes:

 
python3 --version 

If installed correctly, you should see something like:

 
Python 3 . 12 . 2  

Terminal showing Python version output
 


🔹 Step 3: Install VS Code (Code Editor)

While you can write Python in any text editor, using Visual Studio Code (VS Code) makes coding easier with syntax highlighting, debugging tools, and extensions.

  1. Download VS Code: https://code.visualstudio.com/
  2. Install it like any regular software.
  3. Open VS Code and install the Python extension (from Microsoft).

VS Code welcome screen with Python extension installed
 


🔹 Step 4: Writing Your First Python Program

Let’s create our first program!

  1. Open VS Code.
  2. Create a new file named hello.py.
  3. Type the following code:
 
print ( "Hello, World!" ) 
  1. Save the file.
  2. Open the terminal in VS Code and run:
 
python hello.py 

VS Code with hello.py open and terminal showing output
 

If everything worked, you’ll see:

 
hello, Learner! 

🎉 Congratulations! You just wrote your first Python program.


🔹 Exercises for Beginners

Try the following to practice:

  1. Modify your program to print your name:
 
print ( "Hello, Kingsley!"
  1. Print multiple lines of text:
 
print ( "Welcome to Python" ) print ( "This is your first lesson"
  1. Challenge: Ask the computer to print a simple pattern, like:
 
print ( "*" ) print ( "**" ) print ( "***"

🎯 Recap

In this lesson, you learned:
✅ What Python is and why it’s useful
✅ How to install Python and verify it’s working
✅ How to set up VS Code with Python extension
✅ How to write and run your first “Hello, World!” program

You’re now ready to move on to Lesson 2: Variables & Data Types in Python. 🚀

💼 Need a Developer?

I'm Kingsley Odume, a Django, Flask, and FastAPI developer with experience building SaaS platforms, APIs, and modern web apps. If you're a recruiter or business owner looking for a reliable software developer, let's connect!

🚀 Hire Me

Python tutorials, Python Beginners series, Python Step-byStep
3 min read
Aug 20, 2025
By Kingsley Odume
Share

Leave a comment

Your email address will not be published. Required fields are marked *

Related posts

Aug 29, 2025 • 3 min read
Step-by-Step: Building a SaaS App with Django + Stripe Payments

Learn how to build a real-world SaaS app with Django and Stripe paymen...

Aug 21, 2025 • 3 min read
Final Wrap-Up: Python Tutorial Series for Beginners

Congratulations on completing the Python Tutorial Series! 🚀 In this w...

Aug 20, 2025 • 4 min read
Final Lesson: Mini Project – Putting It All Together in Python

In this final lesson, we’ll bring all those concepts together in a Min...

Your experience on this site will be improved by allowing cookies. Cookie Policy