Python Requests Library

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.