python2.7之【urllib、urllib2】和【requests】实现HTTP请求

环境:python2.7+sublime3python 1.【urllib、urllib2】实现http请求:json #-*- coding:utf-8 -*- import urllib2 import urllib url_ip = 'http://httpbin.org/ip' url_get = 'http://httpbin.org/get' def use_simple_ur
相关文章
相关标签/搜索