It's convenient to find a reptile library, and it supports python3!
Installation method in Http://docs.python-requests.org/en/latest/user/install/#install很详细
But the installation method of Windows is not clear inside, remember Here.
1. Go to the link above, find inside there is a tarball link, this tarball link is used on linux, this link is similar to this:
Https://github.com/kennethreitz/requests/tarball/master
Then just need to change the link inside the tarball to zipball, you can download to Windows can use the Package.
2. Download it and unzip it and put it in a directory, such as D:\req
The current directory structure is roughly the same:
D:
----req
----setup.py
----redeme.md
----requirements.txt
----..... (etc. File)
3. Run cmd, Enter the D:\req directory (first enter d:, then enter the CD Req)
4. Run the statement
Python setup.py Install
So it's ready for Installation.
Use the method to see the official simple tutorial: http://www.zhidaow.com/post/python-requests-install-and-brief-introduction
Python Requests Library