Skip to content

The Ultimate Python Mastery

520,000+

YouTube subscribers

37 million+

views on YouTube

17

years working with data

Why this course

Python behind the scenes, in animated sketches .

Every idea comes as a sketch first, so you understand it faster and never forget it. With AI writing the syntax, understanding is what counts, and that is the whole point of this course.

Hand-drawn program: def creates the function greet in memory, the call greet() runs it, and the output shows Start, Hello, End
def creates it, the call runs itso a function does nothing until you call itsection 13
Hand-drawn map of why Python: high in demand, powerful and simple, AI, everywhere from automation to data science, and a huge community
why everyone picks Pythonsection 1
Hand-drawn overview of what you do with lists: index, slice, unpack, add, remove, sort, copy, combine, map, filter and comprehensions
every list trick, 1 pagesection 10
Hand-drawn transformation function: raw data goes into the function like a machine and comes out processed
data in, data outsection 13
Hand-drawn iterator as a machine that hands out one item at a time, next to lists, tuples and sets that keep every item in memory
an iterator, one at a timesection 11
Hand-drawn big, complex problem full of bugs, split into small functions that each do one job
split the big problemsection 13
Hand-drawn list comprehension in three parts, the transformation, the loop and the filter, next to the loop it runs behind the scenes
a comprehension, unpackedsection 11
Hand-drawn orchestration function that calls the other functions of a workflow, one step after the other
functions run the flowsection 13
Hand-drawn Python community: people publish packages, and you install, import and use them
install, import, usesection 13
Hand-drawn shallow copy of a nested list: the outer list is new, the inner lists are shared with the original
a shallow copy sharessection 11
Hand-drawn ladder of programming languages, from natural language and Python down to assembly and machine code
from English to bitssection 1
Hand-drawn nested loops walking a data lake: the containers, then the folders, then the files
loops inside loopssection 8
Hand-drawn code with a number, a string and a boolean, and Python keeping each in memory boxes of different types and sizes
Python finds the typesection 3
Hand-drawn reasons for iterators: they save memory with big data, keep looping simple and stream data through a pipeline
iterators save memorysection 11
Hand-drawn data types: a primitive holds one value, like 45 or an apple, a container holds many, like 1, 2, 3 or a basket of fruit
one value or manysection 3
Hand-drawn list and set behind the scenes: the set's hash function jumps straight to the value in a hash table
why a set is fastsection 12

I drew every single one of these by hand. 200+ of them waiting inside.

What you’ll learn in this course

  • How Python works, from source code to output
  • The basic tools: the editor, the terminal and your first program
  • Data types, strings and numbers, and what each is good for
  • Logic, operators and conditional statements
  • For loops and while loops, and when to use which
  • Lists, from the basics to the advanced tricks
  • Dictionaries, sets and tuples, and how to choose the right one
  • Functions: write once, reuse everywhere

Who is this course for

  • Beginners who have never written a line of code
  • Analysts and engineers who know SQL or Excel and want Python next
  • Anyone who learns better from sketches than from slides
  • People preparing for data, automation or AI roles

Reviews

What students say

4.7

(2,075 ratings)

11,000+ enrolled

  • This is one of the best Python courses I’ve come across. The visual animations make complex concepts much easier to understand, especially when learning how Python works behind the scenes.

    Muhammad D.October 2026

  • The instructor is knowledgeable, he explains everything through sketches which makes it easy to follow. He teaches everything from a granular level, by the time we get to the complex stuff, you are already familiar with why and how things work. He is an amazing instructor.

    Rendani M.September 2026

  • What a phenomenal course, I've taken many python courses in the past … I'm currently taking this course years later as a refresher and suddenly I see the point to everything. … Baraa delivers everything brilliantly and those sketches do indeed make a difference, I was skeptical at first but I have to say they do actually help the concepts sink in a lot better.

    Omar A.October 2026

  • It has been an excellent experience so far. His teaching style is very impressive, especially the way he turns complex logic into simple, clear visuals. He explains everything in easy language, which makes learning smooth and enjoyable. The content is well-structured and completely beginner-friendly. I highly recommend it to anyone starting from scratch

    Anant K.February 2026

  • This is the best python course you will ever come by. The sketches are very helpful and detailed. For the first I'm truly getting the concepts.

    WhitneyMarch 2026

  • Amazing Course! I must recommend this course, if you really searching course to learn and understanding python instead of just knowing the syntax.

    Vinoth M.August 2026

Built from experience

Built from 17 years inside real companies.

For 17 years I built data platforms at Mercedes-Benz, Bosch and IBM. At Mercedes-Benz my team built one of its largest lakehouses. This course teaches Python the way it is used there: clean code that you can read and reuse.

The patterns I used in real projects, not textbook examples

Every concept drawn by hand before you type it, 200+ sketches

Code-along scripts for every lesson, with every solution

Baraa Khatib Salkini at his desk, in front of two screens of code

Course curriculum

13h

175 lectures

17 sections

01Introduction to Python9 lectures · 26m
  1. Python Course Introduction2:08
  2. Python Roadmap3:42
  3. Course Materials & Downloads
  4. What is Python2:16
  5. How Python Works2:18
  6. Why Learn Python2:19
  7. Installing Python and VS Code4:00
  8. Your First Python Program4:07
  9. Extensions and Notion5:10
02Python Basic Tools9 lectures · 47m
  1. Comments5:00
  2. Print7:42
  3. Escape Sequences9:30
  4. Print – Challenge3:31
  5. Variables12:29
  6. Input6:11
  7. How Python Code is Executed2:31
  8. Python Challenge0:22
  9. Quiz: Python Basic Tools
03Data Types6 lectures · 30m
  1. Data Types7:16
  2. Data Type Categories7:17
  3. Data Type Classes8:55
  4. Data Types Examples5:47
  5. Python Challenge0:22
  6. Quiz: Data Types
04Working with Strings18 lectures · 1h 15m
  1. Chapter Introduction0:52
  2. Strings1:56
  3. Type Function3:31
  4. String Operators5:01
  5. Replace5:39
  6. Replace – Challenge0:21
  7. Joining2:41
  8. f-Strings5:51
  9. Splitting4:50
  10. Repeating2:03
  11. Indexing and Slicing14:13
  12. Removing Spaces7:55
  13. Case Conversion3:50
  14. Searching12:11
  15. Validating Strings2:25
  16. Strings Review0:58
  17. Python Challenge0:27
  18. Quiz: Working with Strings
05Working with Numbers9 lectures · 28m
  1. Chapter Introduction0:15
  2. Numbers4:22
  3. Number Types3:39
  4. Number Operators4:02
  5. Rounding9:58
  6. Random2:27
  7. Validating Numbers3:28
  8. Python Challenge0:13
  9. Quiz: Working with Numbers
06Logic & Operators12 lectures · 51m
  1. Chapter Introduction0:38
  2. Control Flow6:22
  3. Working with Boolean8:14
  4. Comparison Operators6:54
  5. Logical Operators2:51
  6. Logical Operators Examples3:33
  7. Not Operator2:28
  8. Execution Order7:24
  9. Membership Operators3:57
  10. Identity Operators7:44
  11. Python Challenge0:56
  12. Quiz: Logic & Operators
07Conditional Statements14 lectures · 59m
  1. Chapter Introduction0:25
  2. Conditional Statement if5:42
  3. Indentation4:29
  4. Else4:07
  5. Elif6:35
  6. Nested If3:25
  7. Conditions and Logical Operators4:48
  8. Independent if2:51
  9. Inline if (Ternary)5:47
  10. Match case5:20
  11. Conditional Statements Review2:20
  12. Python Challenge 112:37
  13. Python Challenge 20:41
  14. Quiz: Conditional Statements
08For Loops18 lectures · 1h 16m
  1. Chapter Introduction0:31
  2. Python Loops1:36
  3. For Loop7:21
  4. For Loop in Sequences6:41
  5. For Loop Use Cases6:48
  6. For Loop – Challenge0:35
  7. Break5:28
  8. Continue3:39
  9. Pass4:16
  10. Break & Continue Use Cases4:59
  11. Break vs Continue vs Pass1:43
  12. For Else3:09
  13. For Else Break6:51
  14. For Else Use Cases5:55
  15. Nested Loops6:01
  16. Nested Loops Use Cases10:04
  17. Python Challenge0:24
  18. Quiz: For Loops
09While Loops7 lectures · 27m
  1. While Loop2:55
  2. While Condition8:13
  3. While True6:40
  4. While Condition vs While True1:29
  5. While vs For1:47
  6. Python Challenge6:18
  7. Quiz: While Loop
10Lists – Fundamentals19 lectures · 1h 41m
  1. Chapter Introduction0:59
  2. Data Structures6:53
  3. List Methods2:44
  4. Creating Lists7:17
  5. Nested Lists4:08
  6. Indexing9:59
  7. Slicing6:11
  8. List Unpacking4:18
  9. Unpacking Asterisk7:15
  10. Unpacking Underscore5:22
  11. Analyzing Lists4:23
  12. All & Any Functions2:46
  13. Count & Index Functions2:12
  14. In & Is Operators4:19
  15. Adding Items7:55
  16. Removing Items9:23
  17. Updating Items5:05
  18. Sorting Lists6:29
  19. Reversing Lists3:15
11Lists – Advanced14 lectures · 1h 20m
  1. Copying Lists3:48
  2. Shallow Copy1:44
  3. Deep Copy7:00
  4. Copying Lists Review4:09
  5. Combining Lists3:58
  6. Zip Function5:48
  7. Iterables & Iterators6:32
  8. Iterator Examples6:02
  9. Map Function4:51
  10. Filter Function5:39
  11. Lambda Function13:19
  12. Lambda – Challenge2:10
  13. List Comprehensions9:22
  14. List Methods Review5:19
12Data Structures11 lectures · 57m
  1. Lists3:38
  2. Tuples4:15
  3. Sets4:53
  4. Set Methods3:49
  5. Set Math Operations5:30
  6. Set Relationships3:56
  7. Dictionaries5:59
  8. Dictionary Methods11:47
  9. Dictionary Use Case5:20
  10. Dictionary – Challenge3:56
  11. Data Structures Review3:46
13Functions22 lectures · 1h 50m
  1. Function Types4:17
  2. Chapter Introduction0:34
  3. Python Functions4:31
  4. How Functions Work2:59
  5. Functions Examples6:03
  6. Parameters & Arguments6:22
  7. Parameters & Arguments Example4:06
  8. Variable Scope6:40
  9. Variable Scope Examples3:47
  10. Positional vs Keyword Arguments6:30
  11. Mixed Arguments2:23
  12. Default Parameters3:02
  13. *args4:26
  14. **kwargs3:26
  15. Return4:44
  16. Return Examples6:32
  17. Action Function5:17
  18. Transformation Function4:31
  19. Validation Function5:19
  20. Orchestrator Function9:17
  21. Function Types Review1:09
  22. Writing Clean Functions14:31
14Project 1: Building a Secure User Registration System2 lectures
  1. Project Requirements
  2. Project Solution
15Project 2: Building an Expense Tracker System2 lectures
  1. Project Requirements
  2. Project Solution
16Project 3: Building a Mini Banking System2 lectures
  1. Project Requirements
  2. Project Solution
17Congratulations & THANK YOU1 lecture · 2m
  1. Congratulations & THANK YOU1:51

Questions

Questions people ask

Do I need to know anything before?

No. The course starts from zero: what a program is, how Python runs your code, and your first lines. You don’t need any programming.

Does it cover OOP?

No, but the Python I used most in my real projects is all here: data types, loops, data structures and functions. Advanced topics like OOP come later, in an update of this course.

Does it work on a Mac?

Yes. The setup guide takes you through Windows and Mac step by step. You work in Python and Visual Studio Code on both.

Do I get a certificate?

Yes. When you finish the course, you get a certificate of completion. You can add it to your CV and your LinkedIn profile.

Do I get the code?

Yes. You get the code of every lesson, with the solution of every challenge right under the task.

Start the course today.

$19.99, one payment, no subscription. 13 hours, 175 lectures and a certificate.

Enroll now

The Python Handbook

Handbook

The handbook for this course

The Python Handbook: 180 pages of sketches, notes and code, the PDF that goes with these lessons. $9.99, one-time payment.

The Ultimate Python Mastery

$19.99 · one payment

Enroll now