Xah {Python, Perl, Ruby} Tutorial

, , …,
python snake perl camel ruby diamond

This tutorial is concrete, example based. In a few hours, you'll be able to work with the language and understand the official documentation for each language.

If you like my tutorials, subscribe at Xah Programing Blog

Buy Xah {Python, Perl, Ruby} Tutorial.


Language in a Glance Python Perl Ruby

Basics by Topic

There is a Python, pithy.
Mighty, lissome, and tabby.
Algorithms it puffs,
Conundrums it snuffs.
And cherished by those savvy.
Print Version Python Perl Ruby
doc lookup Python Perl Ruby
Quoting String Python Perl Ruby
String Operations Python Perl Ruby
String Methods Python β—‡ β—‡
Formatting String Python Perl Ruby
Regex Python Perl β—‡
path manipulation Python β—‡ β—‡
There is a camel, kooky.
Ugly, loathsome, ungainly.
Hacking it supports,
TIMTOWTDI it sports.
And transports DWIM-wit's fancy.
True οΌ† False Python Perl Ruby
if then else Python Perl Ruby
for, while, loop Python Perl Ruby
List Python Perl Ruby
Loop Thru List Python Perl Ruby
Map Ζ’ to List Python Perl Ruby
Sort Python Perl β—‡
List Comprehension Python Perl β—‡
List Methods Python β—‡ β—‡
Hash Python Perl Ruby
Hash Methods Python β—‡ β—‡
There is a gem called Ruby.
Shiny and pretty.
Objectively beautiful,
Functionally magical.
Make Rails of web happy.
Using Module Python Perl β—‡
Function Python Perl Ruby
Writing Module Python Perl β—‡

Common tasks.

Read/Write File Python Perl β—‡
Traverse Directory Python Perl β—‡
Complex Numbers Python Perl Ruby
Environment Variable Python Perl β—‡
JSON Python β—‡ β—‡
Unicode Basics Python Perl Ruby
Convert Char Encoding Python Perl β—‡
Process Unicode Python β—‡ β—‡

Python Regex Reference

Python Regex Tutorial οΌ† Reference

Advanced, Specific, Tasks




Unix Sys Admin

System Call Python Perl β—‡
gzip file Python Perl β—‡

Functional Programing Exercises

Python Documentation Problems

Python Documentation Problems

Python Criticism

Python Problems

misc, unsorted

Split Line by Regex Python Perl β—‡

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

Python Reference

blog comments powered by Disqus