urllib2 and HTTP authentication
Python's URL and HTTP code isn't well documented. I understand what's going on but mostly because I read the code for the urllib, urllib2, urlparse, httplib, and cgi libraries and the related RFCs. Fuzzyman noticed the problem and wrote two good essays to explain the urllib2 module and how to do basic authentication.
Andrew Dalke is an independent consultant focusing on software development for computational chemistry and biology. Need contract programming, help, or training? Contact me
Copyright © 2001-2013 Andrew Dalke Scientific AB