摘要:
实现WPS文件转PDF,需要安装金山WPS ```python import os from win32com.client import Dispatch def wps_et_to_pdf(file, pdf_file=None): """ wps/et 转 PDF :param file: w 阅读全文
摘要:
```python import os from PIL import Image from reportlab.pdfgen import canvas def image_resize(img, width, height): """ 图片缩放 :param img: 图片路径 :param w 阅读全文