urllib | urllib.request urllib.parse urllib.error | Severly limited standard library for HTTP/HTTPS/FTP. Insecure: Does not check the identity (Certificate) for HTTPS. | Don’t use it for connecting to servers if you can avoid it.
Some utility functions, like urllib.urlencode can be useful sometimes. |
urllib2 | urllib.request urllib.error | Standard library for HTTP/HTTPS.
Can be very verbose for more advanced use cases. | If you can’t use requests for some reason |