- 博客(5)
- 收藏
- 关注
原创 pandas 行列筛选
# -*- coding:utf-8 -*-"""@author:Kameiro@file:patzon.py@time:2018/3/2918:25"""import pandas as pd,numpy as npimport numpy as npfrom pandas import DataFramesourcedata=pd.read_excel('F:/on.xlsx...
2018-03-30 10:12:30 536
转载 requests 库的(stream)
查找requests的相应资料By default, when you make a request, the body of the response is downloaded immediately. You can override this behaviour and defer downloading the response body until you acce
2017-12-15 12:48:11 1544
原创 requests笔记
cookiejar和dict类cookie之间转换#将CookieJar转为字典:cookies = requests.utils.dict_from_cookiejar(r.cookies)#将字典转为CookieJar:cookies = requests.utils.cookiejar_from_dict(cookie_dict, cookiejar=None, overwri...
2017-06-30 17:44:24 300
原创 Python3中urllib学习笔记
get请求urllib.request.urlopen最简单的方式url='https://www.baidu.com/'response = urllib.request.urlopen(url)buff = response.read()#显示html = buff.decode("utf8")response.close()print(html)使用Request的方式ur
2017-06-19 15:34:43 2002
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人