摘要:
import xlrd path = 'F:\\file.xlsx' print(path) #1.打开文件 data = xlrd.open_workbook(path) print(data) #2.查询工作表 sheets = data.sheets() #可以通过 函数,索引,名称 获得工作列表 sheet_1_by_function = data.sheets()[0... 阅读全文
posted @ 2017-10-12 22:06
nayike
阅读(187)
评论(0)
推荐(0)
摘要:
一.autohome import requests from bs4 import BeautifulSoup response = requests.get('http://www.autohome.com.cn/news') response.encoding = 'gbk' soup = B 阅读全文
posted @ 2017-10-12 01:38
nayike
阅读(343)
评论(0)
推荐(0)

浙公网安备 33010602011771号