Hello, Python!

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:
Go to python.org/downloads
Download the latest version for Windows
Important: During installation, check the box that says “Add Python to PATH”
Click Install Now
2. On macOS:
- Install via python.org or run:
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
Open any text editor (Notepad, VS Code, Sublime, etc.)
Write this code:
print("Hello, world!")
Save it as
hello.py
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. :)
Subscribe to my newsletter
Read articles from Shivay Dwivedi directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
