Course
Python
Python from syntax and data structures to OOP, modules, decorators, testing, JSON, APIs, virtual environments, and introductory data handling.
Start coursebasic to advanced / 121 lessons
Log in to track your progress through this course.
About this course
Who it is for
This course is for beginners learning to program for the first time, students who need Python for college or data work, and developers adding Python to their toolkit. No prior experience is needed.
What it covers
It starts with installing Python and writing your first programs, then covers variables, data types, control flow, strings and the core data structures: lists, tuples, sets and dictionaries. Next come functions, object-oriented programming, modules and packages, exception handling and debugging, and working with files and databases. Later modules cover decorators, generators and other advanced features, classic programs, building web APIs with FastAPI, data analysis with NumPy and pandas, and an introduction to machine learning.
How to use it
Every lesson includes runnable examples with their output, common mistakes, an exercise, a quiz and interview questions. Beginners should follow the milestones in order; the FastAPI, data analysis and machine learning modules can be taken in any order once you are comfortable with functions and classes.
Course roadmap
Your Python journey
- Milestones
- 17
- Topics
- 121
Milestone 1Getting Started with Python8 topics
Milestone 2Variables and Data Types7 topics
Milestone 3Control Flow4 topics
Milestone 4Strings3 topics
Milestone 7Object-Oriented Programming15 topics
- OOP
- Classes and objects
- Constructors and the __init__ method
- Instance, class and static methods
- Inheritance
- Polymorphism and method overriding
- Method overloading in Python
- Encapsulation and access modifiers
- Abstraction and abstract base classes
- Magic methods and operator overloading
- Properties and descriptors
- Dataclasses
- Enums
- Composition vs inheritance
- Design patterns in Python
Milestone 8Modules and Packages8 topics
Milestone 9Exception Handling and Debugging6 topics
Milestone 10File Handling5 topics
Milestone 12Advanced Language Features9 topics
Milestone 13Algorithms and Classic Programs3 topics
Milestone 14Practical Python3 topics
Milestone 15Web Development with FastAPI11 topics
- Introduction to FastAPI
- Path and query parameters
- Request body and Pydantic models
- Response models, status codes and errors
- Dependency injection and routers
- FastAPI with a database
- Authentication with OAuth2 and JWT
- Middleware, background tasks and WebSockets
- Testing FastAPI applications
- Deploying FastAPI applications
- Flask basics
Milestone 16Data Analysis with NumPy and pandas9 topics