Post a Reply
|Oldest Newest Rating|
· December 7, 2014
It comes down to preference. In my opinion, request.get() is a much simpler module.
can be done like this with requests.get()
while a couple of lines have been eliminated in order to make the effect a little more apparent, the main thing here is the flexibility of the built-in methods of requests.get(). By eliminating lines of code and declarations, not only is it easier on the programmer, but it is easier to teach from. It's also a great example of a group of Python programmers getting together to make something easier. At its core, that was the purpose of the requests module.
This section is all about snakes! Just kidding.
|Bucky Roberts Administrator|