This is a Python 3 programming tutorial for beginners. If you have never programmed before click here to find out what programming is like and get started.
This tutorial is aimed at people with no programming experience at all or very little programming experience. If you have programmed a lot in the past using some other language you may want to read the official tutorial instead.
You can use Python 3.2 or any newer Python with this tutorial. Don't use Python 2. If you write a Python 2 program now someone will need to port it to Python 3 later, so it's best to just write Python 3 to begin with. Python 3 code will work just fine in Python 4, so you don't need to worry about that.
The tutorial consists of two sections: