Just Enough Python I: the five fundamentals · Topic 1 Free
Why Python, and how to learn it
What Python is used for in data jobs, what you can skip, and the learning method that works: books, small scripts, repetition.
Python is the number one language for data jobs. Data engineering, analytics, machine learning, GenAI, cloud automation: Python is everywhere.
It is also big. You do not need all of it. You need just enough Python for data roles. This course is that slice.
“The single most important skill for a computer scientist is problem solving.” — Allen B. Downey, Think Python
Keep that in mind. The problem comes from the business. The code is how you solve it. Never the other way around.
Where Python shows up in data work
| Area | Typical tools | How much Python you write |
|---|---|---|
| Orchestration | Airflow, Dagster | Read and modify templates. Small functions. |
| Data extraction | requests, database drivers | Connect to an API, get JSON, save it. |
| Data processing | PySpark on Databricks, pandas | DataFrame code. Sometimes a lot of it. |
| Data quality | pytest, Pydantic, Great Expectations | Short checks and tests. |
| Cloud | boto3 (AWS), GCP and Azure SDKs | Scripts that move files and trigger jobs. |
Many data teams use no Python at all: Fivetran loads data, dbt transforms it in SQL, Looker shows it. Other teams run everything in PySpark. Most are in between. Python opens the door to the “in between” and the “everything” jobs.
What to skip for now
Classes and object-oriented design. Async. Metaclasses. Web frameworks. You will meet them later if a job needs them. None of them block your first data role.
The learning method
Video tutorials feel productive and rarely stick. They move too fast, you cannot search them, and you watch instead of doing.
Books work better:
- Read at your own pace. Pause, re-read, take notes.
- Type every example. Do not copy and paste. Typing is how it enters your fingers.
- Come back. Cannot remember something? Flip back two pages.
Two books to start:
- Think Python by Allen B. Downey. Free online. Clear and simple. Best first book.
- Python Crash Course by Eric Matthes. Part 1 is fundamentals, part 2 builds real projects.
A friend’s rule that worked for me: read three books on a topic and you understand it. Start with these two.
How this course works
Each topic is short theory plus exercises. The exercises run real Python 3 in your browser. You print a result, the checker compares your output with the expected output.
Section 1 covers the five fundamentals. Master them before you move on. If something does not click, take a break and come back. Understanding beats speed.
One habit that pays off
Write down small scripts and learn them by heart. Review them on your commute. Repetition builds understanding faster than any new tutorial.
Practice
Real Python 3 runs in your browser. Solve the tasks, or just experiment.