Complete Python Tutorial
From your first print() to classes, generators, decorators, databases and testing. Thirty lessons with runnable examples and exercises, four real-world projects, and the interview questions junior Python developers are asked most.
Syllabus
9 skill areas. Free lessons are open to read now.
0
Start here
How the tutorial works and the suggested six-day pace.
1 lesson · 30 minStart
Start here
How the tutorial works and the suggested six-day pace.
1
Basics
Setup, variables, operators, strings, input and output, conditions and loops.
7 lessons · 5 hrDay 1
Basics
Setup, variables, operators, strings, input and output, conditions and loops.
- 1.1 Introduction & setup30 min · lesson, lab and quiz Free preview
- 1.2 Variables & data types45 min · lesson, lab and quiz Enrolled students
- 1.3 Operators40 min · lesson, lab and quiz Enrolled students
- 1.4 Strings in depth60 min · lesson, lab and quiz Enrolled students
- 1.5 Input & output25 min · lesson, lab and quiz Enrolled students
- 1.6 Conditions: if, elif, else, match45 min · lesson, lab and quiz Enrolled students
- 1.7 Loops: for & while60 min · lesson, lab and quiz Enrolled students
2
Data structures
Lists, tuples, sets, dictionaries and comprehensions for real data.
4 lessons · 4 hrDay 2
Data structures
Lists, tuples, sets, dictionaries and comprehensions for real data.
- 2.1 Lists60 min · lesson, lab and quiz Enrolled students
- 2.2 Tuples & sets40 min · lesson, lab and quiz Enrolled students
- 2.3 Dictionaries70 min · lesson, lab and quiz Enrolled students
- 2.4 Comprehensions45 min · lesson, lab and quiz Enrolled students
3
Functions & modules
Reusable functions, modules, files and errors.
5 lessons · 5 hrDay 3
Functions & modules
Reusable functions, modules, files and errors.
- 3.1 Functions75 min · lesson, lab and quiz Enrolled students
- 3.2 Lambda, recursion & higher-order functions50 min · lesson, lab and quiz Enrolled students
- 3.3 Modules, packages & the standard library60 min · lesson, lab and quiz Enrolled students
- 3.4 File handling: text, CSV & JSON60 min · lesson, lab and quiz Enrolled students
- 3.5 Errors & exceptions60 min · lesson, lab and quiz Enrolled students
4
Object-oriented Python
Model business objects with classes, inheritance, properties and dataclasses.
4 lessons · 4 hrDay 4
Object-oriented Python
Model business objects with classes, inheritance, properties and dataclasses.
- 4.1 Classes & objects75 min · lesson, lab and quiz Enrolled students
- 4.2 Inheritance & polymorphism60 min · lesson, lab and quiz Enrolled students
- 4.3 Encapsulation, properties & magic methods70 min · lesson, lab and quiz Enrolled students
- 4.4 Dataclasses & enums45 min · lesson, lab and quiz Enrolled students
5
Advanced Python
Generators, decorators, context managers, type hints, regex and concurrency.
6 lessons · 5 hrDay 5
Advanced Python
Generators, decorators, context managers, type hints, regex and concurrency.
- 5.1 Iterators & generators60 min · lesson, lab and quiz Enrolled students
- 5.2 Closures & decorators70 min · lesson, lab and quiz Enrolled students
- 5.3 Context managers35 min · lesson, lab and quiz Enrolled students
- 5.4 Type hints40 min · lesson, lab and quiz Enrolled students
- 5.5 Regular expressions60 min · lesson, lab and quiz Enrolled students
- 5.6 Concurrency: threads, processes & asyncio50 min · lesson, lab and quiz Enrolled students
6
Real-world Python
Dates and money, SQLite, APIs and JSON, testing and logging.
4 lessons · 4 hrDay 6
Real-world Python
Dates and money, SQLite, APIs and JSON, testing and logging.
- 6.1 Dates, times & money50 min · lesson, lab and quiz Enrolled students
- 6.2 Databases with SQLite60 min · lesson, lab and quiz Enrolled students
- 6.3 Working with APIs & JSON50 min · lesson, lab and quiz Enrolled students
- 6.4 Testing, logging & clean code70 min · lesson, lab and quiz Enrolled students
7
Projects
Four complete programs that use everything above.
4 lessons · 11 hrProjects
Projects
Four complete programs that use everything above.
- 7.1 Student report card generator120 min · lesson, lab and quiz Enrolled students
- 7.2 Expense tracker with JSON storage180 min · lesson, lab and quiz Enrolled students
- 7.3 Library management system240 min · lesson, lab and quiz Enrolled students
- 7.4 Server log analyzer120 min · lesson, lab and quiz Enrolled students
8
Wrap-up
Interview questions and a one-page cheat sheet.
2 lessons · 1 hrWrap-up
Wrap-up
Interview questions and a one-page cheat sheet.
- 8.1 Python interview questions30 min · lesson, lab and quiz Enrolled students
- 8.2 Python cheat sheet30 min · lesson, lab and quiz Enrolled students
Enrol in Python
Get in touch and your trainer will set up your student login. Start here, then lessons 1 to 30, then the four projects.
Other courses
Written for Python 3.12 and newer (November 2026). Examples that use the network, threads or input() are meant to be run on your own computer. See the official documentation.