Python Tutorial

By Xah Lee. Date: . Last updated:
There is a Python, pithy.
Mighty, lissome, and tabby.
Algorithms it puffs,
Conundrums it snuffs.
And cherished by those savvy.
python snake

This is python 2 tutorial. This tutorial is concrete, example based, and for beginner. In 1 hour, you'll be able to work with the language.

Use the navigation panel on the side.

For python 3, see: Python 3 Tutorial

Thanks to comp.lang.python for comments and corrections.

Ruby, Perl

Ruby, Perl tutorials are moved to: