Sun, 17 May 2009 11:53:00 in Tech stuff | permalink
Yesterday I made a working prototype of my Last.fm stream ripper written in
Python. This is my second project that relatively intensively uses
urllib2 from Python standard library.
One of important things that I've learned about
urllib2.urlopen() from my previous project is that it does raise
some other exceptions besides urllib2.URLError (e.g.
http.HTTPException and socket.error) which is the only one mentioned
in the documentation.