python use reques

1. Install:

One: Download the installation package, then python setup.py install

2: If easy_install or pip is mounted, can be used directly:

easy_install requests to install or pip install requests. If the installation fails using python -m pip install --upgrade pip

Import Module then requests import requests

 

Guess you like

Origin www.cnblogs.com/ellie-fy1111/p/12031961.html