Python
Courses, paths and the The Python Tutorial as a reference.
- 21 courses
- 11 ready now
- 14 paths
- 79 reference articles
Courses
- Available now
Learn Python 3
Start from zero and write real Python 3 programs: text and numbers, decisions, lists and loops, functions, strings, modules, dictionaries, files and your own classes.
Beginner84 lessons - Available now
Python for Programmers
A fast track into Python for people who already code in another language: syntax, types, control flow, functions, object-oriented Python and the built-in data structures, with the idioms that make code Pythonic.
Intermediate30 lessons - Available now
Learn Intermediate Python 3
Go beyond the basics: flexible function arguments, namespaces and scope, higher-order functions and decorators, deeper object-oriented design, exceptions and unit tests, iterators and generators, specialized collections and context managers.
Intermediate57 lessons - Available now
Build a Four-in-a-Row Game with Python
A project course: build a complete four-in-a-row game in Python, from representing and drawing the board to dropping pieces, detecting wins and draws and a full game loop, then add computer opponents that play randomly, follow rules and finally look ahead with minimax.
Beginner18 lessons - Available now
Learn Advanced Python 3
Professional Python techniques: structured logging, functional programming, working with SQLite databases, concurrency with threads, processes and asyncio, and getting a Python web app ready to deploy.
Advanced33 lessons - Available now
Intermediate Python 3: Exceptions and Unit Testing
Handle errors deliberately and prove your code works: tracebacks, try and except in depth, raising, chaining and notes, custom exceptions, warnings and exception groups, then unittest from first assertion to fixtures, subtests and mocks.
Intermediate16 lessons - Available now
Advanced Python 3: Concurrency
Make programs do several things at once: processes, threads and the GIL, race conditions and locks, multiprocessing and executors, and modern asyncio with tasks, timeouts, queues, task groups and semaphores.
Advanced13 lessons - Available now
Object-Oriented Programming with Python: Project-Based
Learn object-oriented design by building: model real things as classes, make objects work together, design small systems with clear responsibilities, then build a multi-class trading game step by step.
Intermediate10 lessons - Available now
Software Engineering in Python I
Write Python the way software engineers do: model data with classes, organize programs with object-oriented design, build clean data pipelines with functional programming, and replace print debugging with logging. Made for analysts and researchers moving code from notebooks to production.
Beginner20 lessons - Available now
Intermediate Python 3: Functions, Namespaces, and Scope
Master how Python functions really work: every kind of parameter and argument, safe defaults, *args and **kwargs, keyword-only and positional-only parameters, unpacking, namespaces and the LEGB rule, closures, higher-order functions and decorators, with a shipping-toolkit project and a decorator-toolkit project.
Intermediate15 lessons - Available now
Learn Advanced Python 3: Logging
Replace print debugging with Python's logging module: levels, loggers, handlers and formatters, the logger hierarchy, exceptions, filters, and configuration with basicConfig and dictConfig.
Intermediate8 lessons
Paths with Python courses
- Available now
Data Science Foundations
Learn Python, pandas, statistics and charts well enough to clean a real dataset and explain what it shows.
Beginner9 courses242 lessons - Available now
Data and Programming Foundations for AI
Build the Python, data handling and math groundwork you need before training machine learning models.
Beginner6 courses177 lessons - Available now
Computer Science
Study programming, data structures, algorithms, databases, computer architecture and discrete math as one connected foundation.
Beginner8 courses188 lessons - Available now
Machine Learning/AI Engineer
Move from core machine learning to tuned, well-engineered models that are ready to work inside real software.
Beginner6 courses20 lessons - Available now
Data Scientist: Machine Learning Specialist
A long-form route through Python, statistics, data wrangling and the main machine learning techniques a data scientist uses.
Beginner21 courses325 lessons - Available now
Business Intelligence Data Analyst
Turn raw data into dashboards and clear recommendations with SQL, spreadsheets, Python and BI tools.
Beginner10 courses256 lessons - Available now
Data Scientist: Analytics Specialist
Analyse data with Python and SQL, run solid exploratory analysis and present findings people can act on.
Beginner13 courses289 lessons - Available now
Learn Python with AI
Write, test and improve Python with an AI assistant at your side, while still understanding every line.
Beginner4 courses104 lessons - Available now
Analyze Financial Data with Python
Use Python, NumPy and pandas to explore, chart and model financial data.
Beginner5 courses141 lessons
Planned courses
- Learn Advanced Python 3: Database OperationsComing soon
- Learn Hardware Programming with CircuitPythonComing soon
- Learn Advanced Python 3: Functional ProgrammingComing soon
- Learn the Basics of Blockchain with PythonComing soon
- Learn Intermediate Python 3: Resource ManagementComing soon
- Learn Intermediate Python 3: Sets and Specialized CollectionsComing soon
- Learn Intermediate Python 3: Object-Oriented ProgrammingComing soon
- Learn Intermediate Python 3: Iterators and GeneratorsComing soon
- Learn Recursion with PythonComing soon
- Introduction to Blockchain and CryptoComing soon
Reference
The Python Tutorial
79 articles by Python Software Foundation, with every example runnable.
An Informal Introduction to Python
More Control Flow Tools
Data Structures
Modules
Input and Output
Errors and Exceptions