learn python logo
Python

Learn Python Programming

Learn Python Programming

Python is one of the easiest programming languages to start with, and it is used everywhere: web apps, data analysis, machine learning, automation and desktop programs. This site has a free tutorial for every part of it, with short explanations and code you can copy and run.

New here? Read the getting started page, then the variables and for loops pages below. Every page stands on its own, so you can also jump straight to what you need.

If you want to practise this yourself, practice Python exercises on PyChallenge runs right in your browser, no setup.

What is Python?

Python is a computer programming language that lets you work more quickly than other programming languages.

This tutorial will help you to Learn Python. If you aspire to be a Python developer, this can help you get started.

Tutorial

First steps

Datatypes

Control structures

Intermediate

OOP

Python GUI

More Python

If you want to see this used on real problems instead of toy examples, the Practical Python Bundle has seven short projects built around everyday Python.

Want more practice on this? Practise this on PyChallenge, there are short browser exercises you can run right after reading.