A co-worker wrote some code using the Net:HTTP class from the net/https module. He also uses the URI class from the uri module. What modules would have equivalent classes and functionality in Python? I did some googling and found httplib and urllib. Would these two Python modules be the equivalent ones?
A co-worker wrote some code using the Net:HTTP class from the net/https module. He
Share
First: the question is pointless. Every module has lots of functionality. You need to decide what you really need.
Second: use the ‘requests’ module for Python:
http://python-requests.org/
It’s the most Pythonic module for dealing with requests.