python读取excel中的图片超链接,批量下载到本地。python+excel
import xlrd
import requests
read_path="美团——健身房.xlsx"
bk = xlrd.open_workbook(read_path)
shxrange = range(bk.nsheets)
try:
sh = bk.sheet_by_name("sheet1")
except:
print("no sheet in %s named sheet1" % read_path)
# 获取总行数
nrows = sh.nrows
print("nrow
原创
2020-06-30 00:56:14 ·
4434 阅读 ·
6 评论