Keywords
Python (6)
Permissions
Viewable by Everyone
Editable by All Siafoo Users
Objects can be Added by All Siafoo Users
Hide
Bored? Check out the Recent Activity on Siafoo Join Siafoo Now or Learn More

Dive Into Python Atom Feed 0

Snippets from the excellent book Dive Into Python by Mark Pilgrim.

For more information, visit http://www.diveintopython.org

Contents
Converts words to pig-latin! Also there is some cool regex magic.
Converts strings to their soundex equivalent. Soundex is a phonetic algorithm for indexing names by sound in English. This allows similarly-pronounced but differently-spelled words to be matched....
Call toRoman() to convert an integer to a roman numeral, or fromRoman() to convert a roman numeral to an integer....