Python basics, history, and how to install it on your system
Python is a high-level, general-purpose programming language known for its clean syntax and readability. It is widely used in web development, data science, automation, AI, scripting, and more.
Created by Guido van Rossum and first released in 1991, Python emphasizes code readability and developer productivity.
Python runs on Windows, macOS, and Linux. The recommended way to install it is from the official website:
https://www.python.org/downloads/
Most Linux distributions include Python by default. To install or update:
# Debian/Ubuntu
sudo apt update
sudo apt install python3
# Fedora
sudo dnf install python3
# Arch
sudo pacman -S python
Open your terminal or command prompt and run:
python --version
# or
python3 --version
Try running Python interactively:
python
Then type:
print("Hello, Python!")
Now that Python is installed, you’re ready to learn the basics of syntax and running scripts in Lesson 2: Working with Strings.
← Back to Lesson Index