python Interface Automation - Requests-1

Installation Requests

This part of the document contains installation process Requests, the first step in using any software is properly installed it.

pip install requests

To install Requests, simply run this command in your terminal, you can:

::
$ pip install requests

If you do not have pip (Gee) is installed, the  Python installation guide  can take you through this process.

Get source

Requests have been actively developed on Github, you can always from here to get to the code.

You can clone a public repository:

git clone git://github.com/kennethreitz/requests.git

 

You can also download the  tarball :

Curl -OL https://github.com/requests/requests/tarball/ $ Master
 # Windows users can also choose to zip package

 

After obtaining the code, you can easily embed it into your python bag, or install into your site-packages:

$ cd requests
$ pip install .

 

Guess you like

Origin www.cnblogs.com/wutaotaosin/p/11404079.html