将excel转换成python中的pdf [英] convert excel to pdf in python

查看:1579
本文介绍了将excel转换成python中的pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

尝试 xtopdf



请注意,有一些限制:


只支持包含纯文本内容(如字符串,数字和日期)的简单电子表格。不支持带有格式化单元格(粗体,斜体,右对齐等)或嵌入图像的电子表格,或者PDF输出中的格式和图像可能会丢失。支持此输入格式意味着您可以将电子表格作为PDF发布。



Is there a good python module to convert .xls file to PDF?

解决方案

Try xtopdf.

Note that there are some limitations:

Only simple spreadsheets that have plain text content, such as strings, numbers and dates, are supported. Spreadsheets with formatted cells (bold, italic, right-justified, etc.) or embedded images are not supported, or the formatting and images may be lost in the PDF output. Support for this input format means that you can publish your spreadsheets as PDF.

这篇关于将excel转换成python中的pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆