如何从Google的appengine动态生成pdf? [英] How to dynamically generate a pdf from Google's appengine?

查看:109
本文介绍了如何从Google的appengine动态生成pdf?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



然而,这个应用程序需要能够动态生成PDF。

我想创建一个应用程序,它可以在Google的appengine上运行。

我怎么可以这样做? 您可以使用 reportlab 从Python生成PDF。您可以将ReportLab文件包含在您的应用程序代码中,或者您可以包含 zip存档的ReportLab代码,并将其插入到您的应用程序的 sys.path 中。


I'd like to create an application that would run on Google's appengine.

However, this application needs to be able to generate PDFs dynamically.

How could I do this?

解决方案

You can use the reportlab library to generate a PDF from Python. You can just include the ReportLab files in with your application's code, or you can include a zip archive of the ReportLab code, and insert it into your application's sys.path.

这篇关于如何从Google的appengine动态生成pdf?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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