Python Request Library

Source: Internet
Author: User

Command line View version:
Python--version

Pip--version

Pip Common Commands
Install package
Pip Install xxx
Upgrade Package
Pip install-u xxx
Uninstalling packages
Pip Uninstall xxx
List installed Packages
PIP List

Install virtualenv and activate under Windows
Pip Install Virtualenv
Create a non-visible directory. env
Virtualenv. env
Activating the VIRTUALENV Environment
. env\scripts\activate

Installing the Requests library requires installation in a VIRTUALENV environment
PIP Install requests

Enter a command in the VIRTUALENV environment to view the requests version
Pip Freeze

Requests Library to write its own service-side URL:
httpbin.org

Httpbin.org is built on a U.S. server with slow access

Can download down this site, people crawl over the
Pip Install Gunicorn Httpbin

Start a server
Gunicorn Httpbin:app

Gunicorn is not supported under Windows

HTTP protocol principle

Python Request 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.