MathCurvesSurfacesWallpaper GroupsGallerySoftwarePOV-Ray
ProgramingLinuxPerl PythonHTMLCSSJavaScriptPHPJavaEmacsUnicode ♥
Web Hosting by 1&1

Xah's Perl & Python Tutorial

camel for perl snake for Python

Xah Lee, 2005, …, 2013

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

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

As of , am adding Ruby to these pages.

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

Language Basics

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

there is a gem, named Ruby
simply shiny and pretty
objectively beautiful
functionally magical
code a web of Rails happy

Language in a glance.

Python, Ruby, Perl

Functions, Objects, Modules

Files

Regex

Sort

Bundled help system

Advanced, Specific, Tasks

Find/Replace

Unicode

Web

Unix Sys Admin

Functional Programing Exercises

Python Documentation Problems

Misc

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