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.

Start Learning Python See the Python Roadmap

Every tutorial shows the code and its outputRead the tutorial
  • 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.

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.

Start the Free Course Watch on YouTube

  • 40modules
  • 70+hours of HD video
  • 275+source code files
  • $0no sign-up needed

Single-library courses: NumPy Pandas Matplotlib TensorFlow Django Tkinter