01🐣Foundations — Meeting Python for the First Time
0/7 lessonsVariables, types, REPL, your first script
The first steps. Where you install Python on your machine, open a REPL for the first time, and watch a `print('Hello')` come back. Variables, the four basic types (int / float / str / bool), string formatting, getting input from the user. By the end you'll have written and run your first script — and you'll understand why Python's whitespace matters more than any other language you might have heard of.
Lesson list (7)
- 01What Is Python — And Why Are We Starting Here?~15 min · python, introduction, interpreted, whitespace, zen-of-python
- 02Installation & Setup — Getting Python on Your Machine~25 min · installation, setup, repl, python-version, pyenv, uv, homebrew, path
- 03The REPL Deep Dive — Beyond `>>> hello`~18 min · repl, ipython, history, completion, underscore, exec-eval
- 04Variables & Assignment — Names, Values, and Identity~22 min · variables, assignment, identity, equality, mutability, references, id, tuple-unpacking
- 05The Four Basic Types — int, float, bool, and the None You'll Meet~22 min · int, float, bool, none, types, decimal, ieee754, truthiness
- 06Strings Deep Dive — f-strings, methods, slicing, Unicode~25 min · str, f-string, format, slicing, unicode, encoding, raw-string, escape
- 07Input, Output, and Running Scripts — Becoming a Real Program~22 min · print, input, sys.argv, stdin, stdout, stderr, main, scripts