Free Python tutorials
Learn Python the Practical Way
Working code and real output in every guide, from your first program to data analysis, machine learning and web apps.
- 2,300+free tutorials
- 70+ hoursfree video course
- 13× MVPMicrosoft award winner
- 100% freeno sign-up needed
Choose your path
What Do You Want to Learn?
Pick a topic and follow the tutorials in order, from the basics to real projects.
-
790+ tutorials
Python Programming
Core Python, from your first program to OOP
Explore Python tutorials -
420+ tutorials
Data Analysis & Visualization
Load, clean, analyze and chart data
Explore Pandas tutorials -
240+ tutorials
Machine Learning & AI
Build models with Scikit-learn and deep learning
Explore machine learning -
240+ tutorials
Python Web & GUI Apps
Build web apps and desktop programs
Explore Django tutorials -
480+ tutorials
Web Development
TypeScript, React and JavaScript for the front end
Explore web development -
New to Python?
Start Here
- Install & first program
- Data types & loops
- Functions & OOP
- Files & errors
- NumPy & Pandas
- Machine learning
Python fundamentals
Learn Python Basics, One Topic at a Time
Each topic page collects every tutorial on that subject, with examples you can copy and run.
Free video course
Python and Machine Learning Training Course
A structured video course that takes you from Python basics to machine learning models. Watch it in order or jump to the module you need.
- 40modules
- 70+hours of HD video
- 275+source code files
- $0no sign-up needed
Single-library courses: NumPy Pandas Matplotlib TensorFlow Django Tkinter
Python Guides on YouTube
Prefer Watching? Learn Python on YouTube
380+ free video tutorials that follow the written guides, with new videos every week.
Bookmark these
Essential Python Tutorials
- Python Hello World Program in VS CodeFirst steps
- Virtual Environments in Python (venv, pipenv, conda)Setup
- How to Check if a File Exists in PythonFiles
- How to Remove Duplicates from a ListLists
- How to Use Lambda Functions in PythonFunctions
- *args vs **kwargs in PythonFunctions
- How to Catch Multiple Exceptions in PythonErrors
- How to Convert a Python Dict to JSONDictionaries
- Read CSV Files Using PandasPandas
- How to Install Django (Windows, Mac & Linux)Django
- Python for Loop: range(), enumerate() and ExamplesLoops
- If Else Statement in PythonBasics






