Keywords
Python (6)
Permissions
Viewable by Everyone
Editable by All Siafoo Users
Objects can be Added by All Siafoo Users
Hide
Stay up to dateembedded code automagically updates, each snippet and article has a feed 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
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...
Provides a framework to get filetype-specific metadata. Included is an example to parse ID3 tags (version 1) from MP3 files....