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

Cover of the free 51 Python Programs PDF by Bijay Kumar

Free PDF · 112 pages

51 Python Programs to Practice

Useful Python programs with the complete code and output, from simple number and string programs to lists, files and more. Enter your email and the PDF goes straight to your inbox.

You’ll also get new Python tutorials by email. Unsubscribe anytime.
Get the Free PDF

Our editorial standards

How We Write Every Tutorial

  • Code we actually run

    Every example is run in Python 3 before it’s published, and the real output is shown under the code.

  • Real-world examples

    We use practical data such as sales, cities and employee records, not just foo and bar.

  • Kept up to date

    1,080+ tutorials were reviewed and updated in the last 12 months as Python and its libraries changed.

  • Written by practitioners

    Tutorials are written by working developers and reviewed by Bijay Kumar before they go live.

Bijay Kumar, 13-time Microsoft MVP and founder of Python Guides

About the founder

Hi, I’m Bijay Kumar

I’m a 13-time Microsoft MVP and the founder of TSInfo Technologies, with more than 18 years in software development at companies including HP, TCS and KPIT. I started Python Guides because I couldn’t find Python tutorials with real-world examples, so I began writing the ones I wished I’d had.

  • 13×Microsoft MVP
  • 18+Years of experience
  • 2,300+Tutorials published