赞
踩
您可以使用 python 中的第三方库,如 openpyxl 和 reportlab 来实现将 excel 转换为 pdf。
首先,使用 openpyxl 读取 excel 文件:
- import openpyxl
-
- wb = openpyxl.load_workbook('example.xlsx')
- sheet = wb.active
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。