会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
侠客云
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
python学习
/
excel操作
python将图片写入excel
摘要:import jsonimport pandas as pdfrom openpyxl import Workbookfrom openpyxl.drawing.image import Imageexcel_col_map={ 1:"A", 2:"B", 3:"C", 4:"D", 5:"E",
阅读全文
posted @
2023-12-08 08:29
冰底熊
阅读(614)
评论(0)
推荐(0)
python如何提取excel表格中的超链接
摘要:import xlrd def get_wb(path): wb = xlrd.open_workbook(path) return wb def get_wb(path): wb = xlrd.open_workbook(path) return wb def get_hyperlink(wb,s
阅读全文
posted @
2023-12-08 08:24
冰底熊
阅读(380)
评论(0)
推荐(0)
图片数据写入excel
摘要:import json # import pandas as pd from openpyxl import Workbook from openpyxl.drawing.image import Image excel_col_map = { 1: "A", 2: "B", 3: "C", 4:
阅读全文
posted @
2023-09-17 21:57
冰底熊
阅读(60)
评论(0)
推荐(0)
读取excel 数据
摘要:import xlrd def read_xls(file): # 打开xls文件 data = xlrd.open_workbook(file) # 打开所有表 tables = data.sheets() for table in tables: # 获取表的行数 nrows = table.n
阅读全文
posted @
2020-09-01 00:12
冰底熊
公告