xSKILLby Infirals
Register

Python for Beginners

Python24 lessons2 hr 55 min

Start Python from zero: the shell, names, numbers, strings, lists, conditionals, loops and functions.

Who this is for

Start here if you have never written a line of code, or if you learned Python once and want the basics back in order. Every note is one idea, one example, and why it matters.

How to use these notes

Read a note, then run the snippet. When the quiz exists for a topic, take it before moving on.

  • Read in order once
  • Come back by topic later
  • Keep the REPL open

Modules

Lessons open in reading order. Each one is a public page.

Data structures

3 lessons

Tuples, dictionaries and sets, and when each one is the right shape.

  1. Tuples4 min
  2. Dictionaries5 min
  3. Sets4 min

Functions and modules

3 lessons

Arguments, scope, and splitting code across files.

  1. Arguments5 min
  2. Scope4 min
  3. Modules and imports5 min

Objects and errors

3 lessons

Classes, exceptions, and reading files without leaking handles.

  1. Classes6 min
  2. Exceptions5 min
  3. Files5 min
All notes

Sign in, then read a note for 45 seconds or press Mark as read. Reading progress appears on the notes home and your dashboard.