Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Python Programming In Depth
Introduction
Overview of Python (5:51)
Installing Python
Creating and Executing a Python Script (2:57)
Running Python Code Interactively (4:47)
IDLE : Python's built in IDE (7:59)
Getting Help in Python (1:44)
Quiz - 1
Getting Started with Python
Keywords and Identifiers (6:03)
Python Data Types (9:58)
Quiz - 2
Variables (9:28)
Variables ....... continued (5:50)
Quiz - 3
Operators (10:35)
Quiz - 4
Expressions (7:28)
Statements (2:37)
Input/output and Comments (8:45)
Practice Exercise - 1
Solutions - 1
Introduction to Python Data structures (5:39)
Source Code - Getting Started with Python
Strings
Introduction to Strings (5:46)
String Slicing (8:00)
Practice Exercise - 2
Solutions - 2
Combining and Repeating strings (4:38)
String Methods -1 (5:56)
String Methods -2 (9:50)
Practice Exercise - 3
Solutions - 3
Escape Sequences and Raw Strings (5:18)
String Formatting (10:39)
Source Code - Strings
Lists and Tuples
Introduction to Lists (2:59)
Indexing and Slicing (6:35)
Practice Exercise - 4
Solutions - 4
Adding and Removing Elements (5:56)
Sorting and Reversing a List (4:28)
Practice Exercise - 5
Solutions - 5
Some more List methods (2:59)
Concatenation and Repetition (3:53)
Other ways of creating a List (9:30)
Nested Lists (7:16)
Copying a List (4:40)
Shallow copy and Deep Copy (6:17)
Practice Exercise - 6
Solutions - 6
Tuples (12:08)
Tuple Packing and Unpacking (8:54)
Source Code - Lists and Tuples
Dictionaries and Sets
Introduction to Dictionaries (8:22)
Dictionary Methods (9:56)
Creating Dictionaries (8:03)
Nested Dictionaries (5:14)
Aliasing and Deep Copy (6:13)
Practice Exercise - 7
Solutions - 7
Introduction to Sets (9:43)
More about Sets (10:33)
Practice Exercise - 8
Solutions - 8
Source Code - Dictionaries and Sets
Conditional Execution
Introduction to Control Structures (1:09)
Conditional processing using the if statement (9:08)
else clause (4:46)
elif clause (10:33)
Truthiness (6:25)
Revisiting or and and operators (8:09)
if - else operator (4:22)
Practice Exercise - 9
Solutions - 9
Source Code - Conditional Execution
Loops
while loop (4:57)
while loop examples (5:59)
for loop (9:49)
Practice Exercise - 10
Solutions - 10
Unpacking in for loop header (3:46)
Iterating over dictionaries and sets (3:48)
Counter loops using range() (6:33)
Nested Loops (12:04)
Practice Exercise - 11
Solutions - 11
break statement (8:36)
More on break statement (7:21)
continue statement (6:31)
else block in loops (2:48)
pass statement (1:37)
Practice Exercise - 12
Solutions - 12
Source Code - Loops
Looping Techniques
Introduction (1:36)
Using sorted(), reversed() and set() in for loop (4:32)
Index based for loops (6:13)
Generating both index and item using enumerate (3:19)
Parallel Traversals using zip (2:39)
Modifying a List while iterating (6:09)
Practice Exercise - 13
Solutions - 13
Source Code - Looping Techniques
Comprehensions
List Comprehensions (9:05)
Avoid Aliasing using List Comprehensions (3:03)
If clause (10:55)
Multiple for clauses and Nested List Comprehension (4:32)
Practice Exercise - 14
Solutions - 14
Dictionary Comprehensions (5:05)
Set Comprehensions (4:02)
Practice Exercise - 15
Solutions - 15
Source Code - Comprehensions
Functions
Introduction (5:09)
Function Definition and Call (8:51)
Parameters and Arguments (5:32)
return statement (8:49)
Returning Multiple Values (4:40)
Semantics of Argument Passing (13:13)
Mutable Arguments (3:11)
Practice Exercise - 16
Solutions - 16
Default Arguments (7:58)
Default Arguments that may change over time (7:58)
Positional and Keyword Arguments (10:52)
Unpacking Arguments (4:05)
Variable number of arguments (7:10)
Variable number of keyword arguments (5:04)
Keyword only Arguments (5:31)
Ordering Rules (2:45)
Function Objects (10:34)
Function Annotations and Docstrings (6:02)
Practice Exercise - 17
Solutions - 17
Source Code - Functions
Modules and Packages
Introduction to Modules (6:34)
from statement (5:04)
Structure of a Python Program (3:14)
More on Modules (6:51)
if __name__ == '__main__' (5:26)
Source Code - Modules and Packages
Scopes and Namespaces
Namespaces (5:59)
Scopes (4:44)
Name Resolution (5:47)
global statement (2:58)
nonlocal statement (3:49)
Source Code - Scopes and Namespaces
Files
Introduction (4:30)
Opening a file (5:28)
Text and Binary files (4:03)
Closing a file (3:34)
with statement (2:14)
Random access (12:41)
Reading a file (6:53)
Writing to a file (3:56)
Some File Related Programs (10:09)
Command Line Arguments (7:06)
Pickling (7:47)
Practice Exercise - 18
Solutions - 18
Source Code - Files
Object Oriented Programming
Introduction (6:55)
Classes and Objects (14:06)
Classes and Objects ....... continued (5:18)
Practice Exercise -19
Solutions - 19
Initializer Method (5:59)
Data Hiding (8:38)
Property (17:11)
Practice Exercise - 20
Solutions - 20
Class Variables (9:25)
Class Methods (9:00)
Static Methods (1:59)
Practice Exercise - 21
Solutions - 21
Magic Methods - 1 (7:28)
Magic Methods - 2 (7:37)
Magic Methods - 3 (4:06)
Practice Exercise - 22
Solutions -22
Inheritance (12:57)
Multiple Inheritance (7:22)
MRO and super() (4:34)
Polymorphism (7:08)
Practice Exercise - 23
Solutions - 23
Source Code - Object Oriented Programming
Iterators and Generators
Iterables and Iterators (10:31)
How for loop and other Iteration tools work (5:15)
Supporting single iteration or multiple iteration (8:17)
Creating your own Iterators (9:40)
Making your own class iterable (5:08)
Some more Iterators (4:18)
Lazy Evaluation (3:06)
Itertools Module (5:47)
Practice Exercise - 24
Solutions - 24
Generators (15:09)
Generator Expressions (3:25)
Practice Exercise - 25
Solutions - 25
Decorators
Prerequisite Review (4:13)
Introduction to Decorators (9:40)
Decorator Examples and Applications (7:01)
Decorating Functions with Parameters (7:15)
Practice Exercise - 26
Solutions - 26
Applying Multiple Decorators (4:10)
Using wraps decorator from functools module (3:50)
Decorators with Parameters (7:56)
Practice Exercise - 27
Solutions - 27
Decorating Classes (12:17)
Class Decorators (6:16)
Class Decorators with Arguments (1:36)
Practice Exercise - 28
Solutions - 28
Project 1 - Quiz Creation
Quiz Creation 1 (3:16)
Quiz Creation 2 (10:09)
Quiz Creation 3 (9:58)
Project 2 - Hangman
Hangman 1 (4:32)
Hangman 2 (10:57)
Hangman 3 (5:09)
Hangman 4 (5:43)
Project 3 - Snakes and Ladders
Snakes and Ladders 1 (2:28)
Snakes and Ladders 2 (12:28)
Snakes and Ladders 3 (4:48)
Project 4 - Password Validation
Password Validation 1 (3:54)
Password Validation 2 (4:29)
Password Validation 3 (10:36)
Project 5 - Date
Date 1 (7:11)
Date 2 (11:07)
Date 3 (12:21)
Date 4 (1:43)
Teach online with
Writing to a file
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock