从 Python Pyramid 项目导出到 Excel .xlsx
我了解 XLWT 库,我之前在 Django 项目中使用过它。 XLWT 非常简洁,但据我所知,它不支持 .xlsx,这是我的情况下最大的障碍。我可能要处理超过 2**16 行的信息。还有其他成熟的类似库吗?或者更好的是,是否有 XLWT 的分支具有此附加功能?我知道 C# 中有库,但如果已经存在 python 实现,那就更好了。
非常感谢!
I know about the XLWT library, which I've used before on a Django project. XLWT is very neat but as far as I know, it doesn't support .xlsx which is the biggest obstacle in my case. I'm probably going to be dealing with more than 2**16 rows of information. Is there any other mature similar library? Or even better, is there a fork for the XLWT with this added functionality? I know there are libraries in C#, but if a python implementation already exists, it would be a lot better.
Thanks a bunch!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这很好。我用它做了一些小事情:
http://packages.python.org/openpyxl/
This is pretty good. I used it for a couple of small things:
http://packages.python.org/openpyxl/
另一个非常好的选择,实际上我从 Openpyxl 切换到的是 TabLib。
http://tablib.org
Another really good alternative, actually what I switched to from Openpyxl is TabLib.
http://tablib.org
导出 CSV 不要使用 .xlsx..
Export a CSV don't use .xlsx..