In Python, what are the differences between the urllib, urllib2, urllib3 and requests modules? Why are there three? They seem to do the same thing...
urllib2
I like the urllib.urlencode function, and it doesn't appear to exist in urllib2.
urllib.urlencode
>>> urllib.urlencode({'abc':'d f', 'def': '-!2'}) 'abc=d+f&def=-%212'