Hello, Python!

Shivay DwivediShivay Dwivedi
2 min read

Introduction, Installation, and Your First Program

In this article we will try to get in ease with the programming language python, believe me it just sounds scary but in reality its quite sweet.

Welcome to Python!

If you're new to programming, you've just made a brilliant choice. Python is like the cool friend who helps you understand complex stuff without showing off. It’s readable, beginner-friendly, and used in everything from websites and games to artificial intelligence and automation.

In this blog, we’ll:

  • Understand what Python is and why it’s awesome

  • Install it on your system (Windows, Mac, Linux)

  • Write your first Python program.

What is Python?

Python is a high-level, interpreted programming language created by Guido van Rossum in 1991. It’s loved for its simplicity, clean syntax, and versatility.

Fun fact: It’s named after a show called Monty Python, not the snake.

What Can You Do With Python?

  • Build websites (with Django/Flask)

  • Automate boring tasks (yay, no more renaming files one by one!)

  • Analyze data

  • Make games

  • Write AI models

  • ...basically anything

How to Install Python

1. On Windows:

  1. Go to python.org/downloads

  2. Download the latest version for Windows

  3. Important: During installation, check the box that says “Add Python to PATH”

  4. Click Install Now

2. On macOS:

brew install python

(requires Homebrew)

3. On Linux:

Most Linux distros already have Python installed. To check:

python3 --version

If not, install it via terminal:

sudo apt update
sudo apt install python3

How to run python:

Method 1: Using the Python Shell

Open your terminal/command prompt and type:

python

You’ll enter the interactive Python shell:

>>> print("Hello, world!")
Hello, world!

Method 2: Using a .py File

  1. Open any text editor (Notepad, VS Code, Sublime, etc.)

  2. Write this code:

print("Hello, world!")
  1. Save it as hello.py

  2. Run it in terminal:

python hello.py

What Just Happened?

You just wrote your first line of Python. It printed text to the screen — that’s Python’s way of saying “Hi there, nice to meet you!”

What’s Next?

In the next blog, we’ll talk about variables and data types — the building blocks of any Python program. Until then, play around with:

print("Your Name")
print(5 + 10)
print("Python is fun!")

So please make sure to follow the complete series. I hope you will find this useful.

Thank You. :)

0
Subscribe to my newsletter

Read articles from Shivay Dwivedi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shivay Dwivedi
Shivay Dwivedi