首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
learn_requests
】的更多相关文章
learn_requests
# -*- coding: utf-8 -*- import requests URL_IP = 'http://localhost:8000/ip' URL_GET = 'http://localhost:8000/get' def use_simple_requests(): response = requests.get(URL_IP) print '>>>>Response Headers:' print response.headers print '>>&g…