摘要: 解决方案 openpyxl的alignment函数中的参数:wrapText=True,就可以了 from openpyxl.styles import Alignment worksheet.cell(row=1, column=1, value=value).alignment = Alignm 阅读全文
posted @ 2020-11-21 20:02 胸怀丶若谷 阅读(10334) 评论(2) 推荐(0)
摘要: 需要安装pywin32模块 pip install pywin32 主程序: import win32com.client as win32 import os.path import glob class Format(): """用于文件转换的类""" def __init__(self): s 阅读全文
posted @ 2020-11-21 16:47 胸怀丶若谷 阅读(987) 评论(0) 推荐(0)