Python by Example

By Xah Lee. Date: . Last updated: .
xah python tutorial praise 2016-08-22
There is a Python, pithy.
Mighty, lissome, and tabby.
Algorithms it puffs,
Conundrums it snuffs.
And cherished by those savvy.
python snake cute

This is example based tutorial, for beginner to intermediate programers. In 1 hour, you'll be able to work with the language.

Start here:

  1. Python Basics
  2. Print Version String
  3. Builtin Help

For the rest, see Python by Example Panel Index

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

Python 3

〔►see Python 3 Tutorial

Ruby, Perl

2015 Ruby, Perl tutorials are moved to:

Ruby: Learn Ruby in 1 Hour

Learn Perl in 1 Hour