Skip to content

Latest commit

 

History

History
99 lines (80 loc) · 19.5 KB

README.md

File metadata and controls

99 lines (80 loc) · 19.5 KB

Python: Complete All Resources

46 lessons in order. Each lesson folder holds the whiteboard PDF, a theory notebook, a code notebook and sometimes exercises, plus a README with the video timestamps and three small tasks.

Legend: 📄 whiteboard notes (PDF) · 📘 theory notebook · 💻 code notebook · ✏️ exercises

Setup & Basics

# Lesson What you learn Video Files
01 Introduction to Python Why programming exists, what makes Python a good first language, and where it is used in the real world. 0:00 📄
02 Installing Python & Setting Up Jupyter Install Python, run it from the terminal and IDLE, and set up Anaconda with Jupyter notebooks. 14:22 📄 💻
03 Built-in Functions, print(), Modules, Errors & Identifiers Built-in functions, print() with sep and end, importing modules such as math, telling syntax errors from runtime errors, and the rules for naming things. 29:18 📘 💻

Data Types, Strings & Type Casting

# Lesson What you learn Video Files
04 Data Types How Python classifies data, why variables can change type, and why integers have no fixed size. 51:57 📄 📘 💻
05 Numeric Types: int, float, complex The three numeric types: int, float and complex, including float precision surprises. 51:57 📄 📘 💻
06 Boolean Data Type What True and False really are, and which values Python treats as truthy or falsy. 1:06:20 📄 📘 💻
07 Strings Basics Creating strings with different quotes, escape sequences, and why strings cannot be edited in place. 1:12:28 📄 📘 💻
08 String Indexing (Positive & Negative) Picking single characters from a string with positive and negative positions. 1:19:04 📄 📘 💻
09 Concatenation, Repetition & Slicing Joining and repeating strings, slicing with start:stop, and using a step to skip or reverse. 1:27:35 📄 💻 💻
10 Type Conversion & Type Casting Automatic (implicit) conversion versus explicit casting with int(), float(), str() and bool(). 2:01:13 📄 📘 💻

Operators & String Formatting

# Lesson What you learn Video Files
11 Operators Overview & Arithmetic Operators The family of operators, and the seven arithmetic ones including floor division, modulus and power. 2:15:50 📄 📘 💻
12 Relational Operators Comparing numbers and strings with ==, !=, <, >, <= and >=. 2:26:08 📄 📘 💻
13 Logical, Assignment & Identity Operators Combining conditions with and, or, not, updating variables with += and friends, and is versus ==. 2:43:46 📄 📘 💻
14 Membership & Binary (Bitwise) Operators Checking membership with in, and working with bits using &, ` , ^, ~, <<and>>`. —
15 Operator Precedence & Associativity Which operator runs first, and how Python breaks ties when precedence is equal. 3:06:08 📄 💻
16 String Formatting & f-Strings Building readable output with %, .format() and f-strings, including alignment and number formatting. 3:13:46 📄 📘 💻

Conditionals & Loops

# Lesson What you learn Video Files
17 Decision Control & the if Statement Making decisions in code with if, and why indentation matters in Python. 3:28:43 📄 📘 💻
18 if-else & the elif Ladder Choosing between two paths with else and between many with an elif ladder. 3:41:17 📄 💻
19 Nested if Statements Placing an if inside another if to model decisions that depend on earlier decisions. 3:56:24 📄 📘 💻
20 Conditionals: Practice Questions Practice: solving typical decision-making problems end to end. 4:04:18 📄 ✏️ ✏️
21 Introduction to Loops & the while Loop Repeating work with while, and avoiding the classic infinite loop. 4:19:50 📘 💻
22 break, continue & pass Controlling a loop from the inside: stop it with break, skip a round with continue, leave a placeholder with pass. 4:30:49 📘 💻
23 The for Loop Looping over the items of a string or list with for. 4:48:36 💻
24 The range() Function Generating number sequences with range(stop), range(start, stop) and range(start, stop, step). 5:00:29 💻
25 Nested Loops Putting one loop inside another to work with rows and columns. 5:20:55 💻

Data Structures

# Lesson What you learn Video Files
26 Introduction to Data Structures Why we need containers, and a map of the four built-in ones: list, tuple, set and dictionary. 5:33:56 📄 📘
27 Lists: Basics & Operations Creating lists, indexing, slicing, joining, repeating and editing them. 5:43:37 📄 💻
28 List Functions, Methods & Copying The built-in functions and list methods you will use daily, and why b = a is not a copy. 6:01:49 📄 📘 💻
29 List Comprehension Building a list in one readable line with comprehensions, including conditions. 6:33:38 📄 📘 💻
30 Tuples Tuples: ordered, fixed collections, and how unpacking works. 6:48:42 📄 💻
31 Tuple Functions & Methods The few tuple methods, and handy tricks such as swapping values. 6:48:42 📄 💻
32 Sets Sets: unordered collections of unique items, and why they are fast for membership checks. 7:18:01 📄 💻
33 Set Operations, Functions & Methods Set algebra: union, intersection, difference, subset checks, and safe ways to add or remove. 7:28:17 📄 💻
34 Dictionaries Dictionaries: key-value pairs for fast lookup by name instead of by position. 7:48:58 📄 💻
35 Dictionary Operations & Methods Everyday dictionary methods and patterns such as counting and merging. 8:02:44 📄 💻
36 Strings Revisited: ord(), chr() & String Methods Characters as numbers with ord() and chr(), plus the string methods used to clean and search text. 8:19:30 📄 💻

Functions & Functional Programming

# Lesson What you learn Video Files
37 Introduction to Functions What a function is, why we write them, and how to call one. 8:41:36 📄 💻
38 Defining Your Own Functions Defining functions properly: parameters, return values, void functions and docstrings. 8:41:36 📄 💻
39 Types of Arguments: Positional & Default Passing values by position and giving parameters default values. 9:10:11 📄 📘 💻
40 *args and **kwargs Accepting any number of arguments with *args and any number of named ones with **kwargs. 9:28:51 📄 💻
41 Variable Scope: Local vs Global Where a variable lives: local, global, and what happens when the names clash. 9:40:20 📄 💻
42 Functions as First-Class Citizens Functions are values: store them, pass them around and return them. 9:56:08 📄 💻
43 Lambda Functions Short anonymous functions with lambda, and when not to use them. 10:22:04 📄 📘 💻
44 map(), filter() & reduce() Transforming, filtering and combining sequences with map(), filter() and reduce(). 10:32:38 📄 💻

Error Handling & OOP

# Lesson What you learn Video Files
45 Exception Handling Catching and handling errors with try, except, else and finally, and a tour of the built-in exception types. — 📄 📘 💻 💻 ✏️
46 Object-Oriented Programming Classes and objects, encapsulation, abstraction, inheritance, polymorphism and operator overloading, with practice programs. — 📄 💻 💻 💻 💻 📘 💻 💻 ✏️ ✏️

Checkpoint assignments

Checkpoint After lessons Problems Starter Solutions
Setup & Basics Lessons 01 to 03 5 notebook solutions
Data Types, Strings & Type Casting Lessons 04 to 10 5 notebook solutions
Operators & String Formatting Lessons 11 to 16 5 notebook solutions
Conditionals & Loops Lessons 17 to 25 5 notebook solutions
Data Structures Lessons 26 to 36 6 notebook solutions
Functions & Functional Programming Lessons 37 to 44 6 notebook solutions

Course home