Skip to main content

🐍 Python 101

🎯 Learning objectives — by the end of these 5 weeks you'll be able to:

  • Write and reason about Python programs using variables, control flow, and functions
  • Work with Python's core data structures: lists, dicts, tuples, sets
  • Read and write CSV files — your first taste of working with real data

Both tracks cover the same 5 weeks. Pick the one that fits how you want to learn:

🟢 Normal: Python Fundamentals

No classes, no frameworks — just the core language, building up week by week.

  • Variables, types, operators, input/output
  • Control flow: if/else, loops
  • Data structures: lists, dicts, tuples, sets
  • Functions
  • Reading and writing CSV files

⏱️ Time commitment: ~3–4 hours/week

Start Normal

🔴 Hard: Build a Tiny Language Model

A project-based track: build a tiny language model from a text corpus using nothing but Python's built-in types — no numpy yet, on purpose.

  • Load and tokenize a text corpus from CSV
  • Build bigram probability tables with nested dicts
  • Sample generated text from those probabilities
  • Time your own code and feel where plain Python gets slow

⏱️ Time commitment: ~4–6 hours/week

Start Hard