courses / python

learn python

Three levels, from never written code to writing it like a professional. Readable, powerful and famously beginner-friendly.

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. 0 of 4 · 37 min
  1. A dictionary looks things up9 min
  2. Changing a dictionary9 min
  3. Looping over a dictionary9 min
  4. Counting with a dictionary10 min
2 unit 2 Tuples, sets and sorting Pick the right shape for your data and put it in order. 0 of 4 · 37 min
  1. Tuples keep things together9 min
  2. Putting things in order8 min
  3. Sorting by your own rule10 min
  4. Sets keep one of each10 min
3 unit 3 Text in depth Cut text up, glue it back together and make numbers look neat. 0 of 4 · 36 min
  1. Splitting text into pieces9 min
  2. Joining a list into text8 min
  3. Formatting numbers9 min
  4. Lining up columns10 min
4 unit 4 Errors on purpose Catch errors, raise your own and prove your code works. 0 of 4 · 38 min
  1. Catching an error10 min
  2. else and finally9 min
  3. Raising your own errors10 min
  4. Checking with assert9 min
5 unit 5 The standard library Borrow ready-made tools for maths, chance, dates and data. 0 of 4 · 37 min
  1. Importing a module8 min
  2. Random with a seed9 min
  3. Working with dates10 min
  4. JSON: data as text10 min
6 unit 6 Files and the web Save data in files and read replies from the web. 0 of 4 · 41 min
  1. Writing a file10 min
  2. Reading a file9 min
  3. CSV files11 min
  4. Talking to the web11 min
7 unit 7 Your own objects Design your own kinds of value, then test them like a professional. 0 of 4 · 43 min
  1. A class is a blueprint10 min
  2. Methods and __str__10 min
  3. Inheritance11 min
  4. Testing with unittest12 min
end of level 2 level check Build one small project with everything from this level. Pass it and your face levels up. see the check