courses / python
learn python
Three levels, from never written code to writing it like a professional. Readable, powerful and famously beginner-friendly.
from zero to your first real programs.
For people who have never written a line of code. Nothing is assumed: every new word is explained the moment it appears.
1 unit 1 Say hello Make the computer do exactly what you tell it.
2 unit 2 Boxes with names Make the computer remember things.
3 unit 3 Words and numbers Tell text and numbers apart and use both.
4 unit 4 Make decisions Make your program choose what to do.
5 unit 5 Repeat yourself Do the same thing many times without copying.
6 unit 6 Lists Keep many things together and work through them.
7 unit 7 Your own commands Wrap code up so you can use it again.
build things that are actually useful.
For people who finished Level 1, or can already write small programs with variables, decisions, loops and functions.
1 unit 1 Look it up Store values under names and find any of them in a flash.
2 unit 2 Tuples, sets and sorting Pick the right shape for your data and put it in order.
3 unit 3 Text in depth Cut text up, glue it back together and make numbers look neat.
4 unit 4 Errors on purpose Catch errors, raise your own and prove your code works.
5 unit 5 The standard library Borrow ready-made tools for maths, chance, dates and data.
6 unit 6 Files and the web Save data in files and read replies from the web.
7 unit 7 Your own objects Design your own kinds of value, then test them like a professional.
write python like a professional.
For people who build things on their own and want code that others trust and can change.