Keywords
Python (6)
Permissions
Viewable by Everyone
Editable by All Siafoo Users
Objects can be Added by All Siafoo Users
Hide
Easily highlight source code for your blog with our Syntax Highlighter. 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 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....
Lets you take any input source -- URL, local pathname, network pathname, string -- and deal with it in a uniform manner. The returned object is guaranteed to have all the basic stdio read methods...