HomeMathComputingArtsWordsLiteratureMusictwitter facebook webfeed

Xah's Perl & Python Tutorial

Advertise Here For Profit
double snake camel

Xah Lee, 2005, …, 2011-01

there is a Python, pithy
mighty, lissome, and tabby
algorithms it puffs
conundrums it snuffs
and cherished by those savvy

there is a camel, kooky
ugly, loathsome, ungainly
hacking it supports
TIMTOWTDI it sports
and transports DWIM-wit's fancy

—Xah Lee, 2005-03

This is a tutorial on Perl and Python. The tutorial is concrete, practical, with a lot short example code that runs. It explains things as they function.

The Pyhton code examples given here are tested with version 2.6 and later. The Perl is v5.8.1 (released 2003-09) and later.

For latest news and additions, subscribe at Xah's Programing Blog.

Language Basics

Basic Syntax

Lists

Misc

Functions, Objects, Modules

Files

String Pattern Matching (regex) Documentation

Regex

Reference resources

Advanced, Specific, Tasks

Find & Replace

Unicode

Web

What is Expresiveness in a Computer Language

Unix Sys Admin

Functional Programing Exercises

Lambda in Python 3000

Banner

Python Documentation Problems

Perl Books Survey 2002

About The Author. Thanks to members of comp.lang.perl.misc and comp.lang.python for comments and corrections.

Download the whole thing for $5. Use the paypal button below. In the comment field, put “perl python tutorial zip file”. I'll email you the download link. Make sure your email address is included and correct.

blog comments powered by Disqus