Python 3 green and yellow

Python3 Tutorial

Those who want to learn Python ask themselves quite often: "Which version should I use?" If you are free to choose, i.e. if there are no restriction by previous code or company standards, we think you should start with Python3. So, please go on with this tutorial, which is meant to be a tutorial for beginners and programmers switching from other programming languages to Python.

It's an introduction into Python for beginners and intermediate learners with lots of examples and exercises! It's suitable and meant for self-study.

This online Python course was created and is maintained by Bernd Klein, an experienced Python trainer, giving training classes all over the world.


March 2014:
We are currently completely revising the chapter on object oriented programming. It's more or less complete rewrite. The old version dealing with OOP can still be accessed, though we recommend to work through the new ones.
The topic now comprises five instead of previously only one chapter:

Any Help is Welcome!

Though we do our best to prevent errors, we need your help to ensure that all the information presented in this tutorial is correct and up to date. If you find spelling and grammatical errors, it will be great if you will point them out to us, so that we can fix them! We are continually improving this website and this will assist us in making it the best tutorial! The same is true of course, if you find logical problems or errors in the text or the code examples. We hope that there are only few of them left in the text! But as the saying goes, nobody is perfect! Please use the contact button!

Ads for training classes

This website is ad-free! There are no paid-for ads. The only things advertised here are the book by Bernd Klein, the author of this tutorial, and the training classes given by the author.

Tutorial in hard copy

There is no PDF version available, but you can create it yourself. You can use the print functionality of your browser to do this. Use "Print to File" and you will get a nicely formatted version of a chapter.


Thank you very much for using this tutorial! We hope that you will enjoy learning Python with us!

Classroom training Courses

This tutorial is, as we have already mentioned, intended for self-study! But some people need to learn Python very quick or prefer to learn in a classrom with an experienced trainer. If you are looking for a live Python courses by Bernd Klein, the author of this tutorial, you may follow the links in the right column!