Keywords
Python (6)
Permissions
Viewable by Everyone
Editable by All Siafoo Users
Objects can be Added by All Siafoo Users
Hide
Free your code from a slow death on your hard drive 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
Use the SGMLParser to retrieve a list of URLs from a web page.
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...