Lesson 1 / 49

Python Introduction

Learn what Python is, where it is used in data science, web and automation, and how the interpreter runs your code.

What is Python?

Python is a high-level, interpreted language released by Guido van Rossum in 1991. It favours readability — you say more in fewer lines.

Where it's used

Data science & AI (NumPy, PyTorch), web backends (Django, FastAPI), automation and scripting, and teaching — it's often a first language.

Running Python

No compile step — the interpreter reads the file top to bottom.

# macOS / Linux
python3 script.py     # run a file
python3               # interactive REPL

# Windows
py script.py
py                    # interactive REPL