Certificate “Complete Python Mastery” from Code with Mosh, issued June 2025
Open in a new tab
Python

Complete Python Mastery

Code with MoshJune 2025 · 12 hrs · 200 lessons

A comprehensive Python course by Mosh Hamedani that works through the language from the basics into the breadth of its ecosystem: primitive types, control flow and functions, a large chapter on data structures (lists, tuples, sets, dictionaries, comprehensions, generators), exceptions, and an extensive part on object-oriented programming — from magic methods and properties through multiple inheritance and abstract base classes to polymorphism, duck typing and data classes. Plus modules and packages, the standard library (files, CSV, JSON, SQLite, date and time, e-mail, subprocesses), the Python Package Index including publishing your own packages, as well as practical modules on web scraping, browser automation, Excel and NumPy, a Django web application through to deployment, and an introduction to machine learning with scikit-learn. Fully completed (all lessons).

Scope
12 hrs
Lessons
200 across 13 sections
Instructor
Mosh Hamedani
Language
English
Format
Video course with exercises and quizzes
Progress
100 % completed
Completed
2 June 2025

Contents & competencies

  • Language basics: variables, strings with escape sequences and f-strings, numbers, type conversion
  • Control flow: comparison and logical operators, short-circuit evaluation, chained comparisons, for and while loops, nested loops, iterables
  • Functions: arguments, keyword and default arguments, *args and **kwargs, scope and debugging
  • Data structures in breadth: lists with unpacking and sorting, lambda, map and filter, list and dictionary comprehensions, zip, stacks, queues, tuples, arrays, sets, dictionaries, generator expressions and the unpacking operator
  • Exceptions: handling them deliberately, cleaning up, the with statement, raising your own exceptions and judging what they cost
  • Object orientation: constructors, class versus instance attributes and methods, magic methods, operator overloading, custom containers, private members, properties
  • Inheritance and polymorphism: method overriding, multi-level and multiple inheritance, abstract base classes, duck typing, extending built-in types, data classes
  • Modules and packages: the module search path, packages and sub-packages, intra-package references, running a module as a script
  • Standard library: paths, directories and files, zip, CSV, JSON, SQLite, timestamps and datetimes, random values, sending e-mail, templates, CLI arguments, external programs
  • The package ecosystem: PyPI and pip, virtual environments with Pipenv, dependency management, publishing your own packages, docstrings and pydoc
  • Practical packages: consuming REST APIs, hiding API keys, sending SMS, web scraping, browser automation, PDFs and Excel files, NumPy
  • Django: views, models and migrations, customising the admin, templates with Bootstrap, URL parameters, 404 handling, building APIs and deploying the application
  • Machine learning: reading in and preparing datasets, training models and making predictions, calculating accuracy, persisting models and visualising a decision tree

Syllabus

The course page states 12 hours and 200 lessons across 13 sections but lists individual lessons only for “Getting Started”. The outline here is therefore taken from the course player and shows all 187 lessons that were included at completion in June 2025; it lists “Getting Started” as two modules where the course page names one. The Code with Mosh certificate itself states no scope. On the course page the course is now called The Complete Python Programming Course.

Getting Started4 lessons
  1. Welcome
  2. Questions and Support
  3. Connect with Me
  4. Learning Paths
Getting Started with Python32 min · 12 lessons
  1. What is Python
  2. Installing Python
  3. Python Interpreter
  4. Code Editors
  5. Bonus: Redeem Your FREE Access to PyCharm
  6. Your First Python Program
  7. Python Extension
  8. Formatting Python Code
  9. Running Python Code
  10. Python Implementations
  11. How Python Code is Executed
  12. Quiz
Primitive Types34 min · 10 lessons
  1. Variables
  2. Variable Names
  3. Strings
  4. Escape Sequences
  5. Formatted Strings
  6. String Methods
  7. Numbers
  8. Working with Numbers
  9. Type Conversion
  10. Quiz
Control Flow37 min · 14 lessons
  1. Comparison Operators
  2. Conditional Statements
  3. Ternary Operator
  4. Logical Operators
  5. Short-circuit Evaluation
  6. Chaining Comparison Operators
  7. Quiz
  8. For Loops
  9. For..Else
  10. Nested Loops
  11. Iterables
  12. While Loops
  13. Infinite Loops
  14. Exercise
Functions41 min · 14 lessons
  1. Defining Functions
  2. Arguments
  3. Types of Functions
  4. Keyword Arguments
  5. Default Arguments
  6. *args
  7. **kwargs
  8. Scope
  9. Debugging
  10. VSCode Coding Tricks — Windows
  11. VSCode Coding Tricks — Mac
  12. Exercise
  13. Solution
  14. A Quick Note
Data Structures1 hr 20 min · 23 lessons
  1. Lists
  2. Accessing Items
  3. List Unpacking
  4. Looping over Lists
  5. Adding or Removing Items
  6. Finding Items
  7. Sorting Lists
  8. Lambda Functions
  9. Map Function
  10. Filter Function
  11. List Comprehensions
  12. Zip Function
  13. Stacks
  14. Queues
  15. Tuples
  16. Swapping Variables
  17. Arrays
  18. Sets
  19. Dictionaries
  20. Dictionary Comprehensions
  21. Generator Expressions
  22. Unpacking Operator
  23. Exercise
Exceptions20 min · 7 lessons
  1. Exceptions
  2. Handling Exceptions
  3. Handling Different Exceptions
  4. Cleaning Up
  5. The With Statement
  6. Raising Exceptions
  7. Cost of Raising Exceptions
Classes1 hr 25 min · 22 lessons
  1. Classes
  2. Creating Classes
  3. Constructors
  4. Class vs Instance Attributes
  5. Class vs Instance Methods
  6. Magic Methods
  7. Comparing Objects
  8. Performing Arithmetic Operations
  9. Making Custom Containers
  10. Private Members
  11. Properties
  12. Inheritance
  13. The Object Class
  14. Method Overriding
  15. Multi-level Inheritance
  16. Multiple Inheritance
  17. A Good Example of Inheritance
  18. Abstract Base Classes
  19. Polymorphism
  20. Duck Typing
  21. Extending Built-in Types
  22. Data Classes
Modules20 min · 8 lessons
  1. Creating Modules
  2. Compiled Python Files
  3. Module Search Path
  4. Packages
  5. Sub-packages
  6. Intra-package References
  7. The dir Function
  8. Executing Modules as Scripts
Python Standard Library1 hr · 17 lessons
  1. Python Standard Library
  2. Working With Paths
  3. Working with Directories
  4. Working with Files
  5. Working with Zip Files
  6. Working with CSV Files
  7. Working with JSON Files
  8. Working with a SQLite Database
  9. Working with Timestamps
  10. Working with DateTimes
  11. Working with Time Deltas
  12. Generating Random Values
  13. Opening the Browser
  14. Sending Emails
  15. Templates
  16. Command-line Arguments
  17. Running External Programs
Python Package Index48 min · 10 lessons
  1. Pypi
  2. Pip
  3. Virtual Environments
  4. Pipenv
  5. Virtual Environments in VSCode
  6. Pipfile
  7. Managing Dependencies
  8. Publishing Packages
  9. Docstrings
  10. Pydoc
Popular Python Packages1 hr 30 min · 12 lessons
  1. Introduction
  2. What are APIs
  3. Yelp API
  4. Searching for Businesses
  5. Hiding API Keys
  6. Sending Text Messages
  7. Web Scraping
  8. Browser Automation
  9. Working with PDFs
  10. Working with Excel Spreadsheets
  11. Command Query Separation Principle
  12. NumPy
Building Web Applications with Django2 hrs · 22 lessons
  1. Introduction
  2. Your First Django Project
  3. Your First App
  4. Views
  5. Models
  6. Migrations
  7. Changing the Models
  8. Admin
  9. Customizing the Admin
  10. Database Abstraction API
  11. Templates
  12. Adding Bootstrap
  13. Customizing the Layout
  14. Sharing a Template Across Multiple Apps
  15. Url Parameters
  16. Getting a Single Object
  17. Raising 404 Errors
  18. Referencing Urls
  19. Creating APIs
  20. Adding the Homepage
  21. Getting Ready to Deploy
  22. Deployment
Machine Learning with Python48 min · 12 lessons
  1. What is Machine Learning
  2. Machine Learning in Action
  3. Libraries and Tools
  4. Importing a Data Set
  5. Jupyter Shortcuts
  6. A Real Machine Learning Problem
  7. Preparing the Data
  8. Learning and Predicting
  9. Calculating the Accuracy
  10. Persisting Models
  11. Visualizing a Decision Tree
  12. Thank You

Topics

OOP