Python 3 Mastery Course
From basic syntax to advanced OOP and real-world projects.
About This Course
Python is one of the most popular and versatile programming languages in the world. It is used heavily in data science, web development, automation, and artificial intelligence.
This comprehensive 41-part course is designed to take you from writing your first line of code to mastering advanced concepts like generators, decorators, regular expressions, and writing automated tests. You'll also learn how to build practical real-world projects.
Ready to start learning?
Log in or sign up to enroll in this course, track your completion progress, and resume where you left off.
Course Syllabus
Python Intro
An introduction to Python, what it is, why you should learn it, how its syntax compares to other languages, and its various real-world applications.
View Lessons →Python Get Started
Learn how to install Python, set up your development environment, write your first script, and run Python from the command line.
View Lessons →Python Syntax
Understand the core syntax of Python, including indentation rules, single-line and multi-line comments, line continuation, and case sensitivity.
View Lessons →Python Variables
Master variables in Python: how to create them, naming rules, assigning multiple values, understanding scope, and using constants.
View Lessons →Python Data Types
Explore the built-in data types in Python, including strings, numbers, sequences, mappings, sets, and booleans, and learn how to check variable types.
View Lessons →Python Numbers
Learn about Python's built-in numeric types: int, float, and complex. Understand type conversion and how to generate random numbers.
View Lessons →Python Casting
Understand how to cast variables in Python. Learn the difference between implicit and explicit casting and when to use them.
View Lessons →Python Strings
Master string manipulation in Python. Learn about literals, indexing, slicing, concatenation, string methods, formatting, and escape characters.
View Lessons →Python Booleans
Discover Python Booleans: understanding True and False values, comparison operators, the bool() function, and falsy values.
View Lessons →Python Operators
A comprehensive guide to Python operators: arithmetic, assignment, comparison, logical, identity, membership, and bitwise operators.
View Lessons →Python Lists
Everything you need to know about Python Lists: creating, accessing, modifying, adding, removing, and iterating over lists.
View Lessons →Python Tuples
Understand Tuples in Python. Discover how they differ from lists, how to access them, unpack them, and their specific methods.
View Lessons →Python Sets
Learn how to use Python Sets. Sets are unordered collections with no duplicate items. Learn how to add, remove, and join them.
View Lessons →Python Dictionaries
Master Python Dictionaries. Learn how to store data in key-value pairs, access, modify, add, and remove items, and work with nested dictionaries.
View Lessons →Python If...Else
Control flow in Python using conditional statements: if, elif, else, nested statements, and logical operator integrations.
View Lessons →Python While Loops
Learn how to execute code repeatedly as long as a condition is true using Python's while loops, and control them using break and continue.
View Lessons →Python For Loops
Master Python for loops. Learn how to iterate over sequences, use the range() function, nested loops, and control flow within loops.
View Lessons →Python Functions
Learn how to write reusable code in Python using functions. Covering arguments, default parameters, return values, and variable-length arguments.
View Lessons →Python Lambda
Master Python Lambda functions: anonymous, single-line functions perfect for short operations or passing as arguments to higher-order functions.
View Lessons →Python Arrays
Learn about Python Arrays. Understand the difference between Lists and Arrays, how to import the array module, and manage array elements.
View Lessons →Python Classes & Objects
Dive deep into Object-Oriented Programming (OOP) in Python. Master classes, objects, inheritance, encapsulation, and polymorphism.
View Lessons →Python Iterators
Understand the core of Python iteration. Learn about iterators, iterables, __iter__, __next__, and the StopIteration exception.
View Lessons →Python Generators
Learn how to use generators in Python. Understand the yield keyword, generator expressions, and how they save memory.
View Lessons →Python Decorators
Master Python decorators. Learn how to modify the behavior of functions dynamically using the @ syntax, nested functions, and first-class objects.
View Lessons →Python Scope
Understand the concept of variable scope in Python. Learn about local, global, nonlocal keywords, and the LEGB rule.
View Lessons →Python Modules
Learn how to organize your Python code into modules. Discover how to create, import, and use built-in modules.
View Lessons →Python Packages
Understand Python packages: how to organize multiple modules into directory hierarchies using __init__.py files.
View Lessons →Python Dates
Work with dates and times in Python using the datetime module. Learn how to format strings to dates and perform date arithmetic.
View Lessons →Python Math
Perform mathematical operations in Python. Explore built-in functions, the math module, and operations on complex numbers.
View Lessons →Python JSON
Learn how to parse, manipulate, and generate JSON data in Python using the built-in json module.
View Lessons →Python RegEx
Master text matching and manipulation using Regular Expressions in Python via the re module.
View Lessons →Python PIP
Learn how to use PIP, the standard package manager for Python, to install, manage, and distribute third-party libraries.
View Lessons →Python Try...Except
Master error handling in Python using try, except, else, and finally blocks. Learn how to catch exceptions and raise custom ones.
View Lessons →Python File Handling
Learn how to work with files in Python: opening, reading, writing, and appending data securely using context managers.
View Lessons →Python Input / Output
Interact with users via the command line using the input() and print() functions, and format your output beautifully.
View Lessons →Python Working with CSV
Learn how to read and write Comma Separated Values (CSV) files using Python's built-in csv module.
View Lessons →Python Working with APIs
Master API integration in Python. Learn how to make GET and POST requests, handle JSON responses, and manage errors using the requests module.
View Lessons →Python Virtual Environment
Learn why virtual environments are essential in Python, and how to create, activate, and manage them using the venv module.
View Lessons →Python Testing
Ensure your code works flawlessly. Learn the basics of Python testing using the built-in unittest module and the popular pytest framework.
View Lessons →Python Projects (Examples)
Apply what you have learned! Build practical, real-world Python projects including a calculator, web scraper, weather API, and more.
View Lessons →Python Reference
A comprehensive quick-reference guide for Python's built-in functions, methods for various data types, exceptions, and key modules.
View Lessons →