我应该使用哪个库来编写Linux / Python的XLS? [英] Which library should I use to write an XLS from Linux / Python?

查看:467
本文介绍了我应该使用哪个库来编写Linux / Python的XLS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢用好的原生Python库来编写XLS,但它似乎并不存在。令人高兴的是,Jython确实如此。



所以我试图在jexcelapi和Apache HSSF之间做出决定:
http://www.andykhan.com/jexcelapi/tutorial.html#writing
http://poi.apache.org/hssf/quick-guide.html



(我不能使用COM自动化,因为我不在Windows上,即使我是,我也买不起Office许可证。)



<我最初的想法是POI / HSSF非常彻底,但也非常Java--一切似乎都比它需要的更难。良好的文档,但我的头痛害试图弥合它描述的内容和我需要完成的内容之间的差距。



jexcepapi似乎有一个更简单,更好(对我来说)接口,但没有很好的文档或社区。

你会使用哪个,为什么?

解决方案

xlwt 出了什么问题?


I'd love a good native Python library to write XLS, but it doesn't seem to exist. Happily, Jython does.

So I'm trying to decide between jexcelapi and Apache HSSF: http://www.andykhan.com/jexcelapi/tutorial.html#writing http://poi.apache.org/hssf/quick-guide.html

(I can't use COM automation because I'm not on Windows, and even if I was, I couldn't afford Office licenses.)

My initial thoughts are that POI/HSSF is very thorough, but also very Java-- everything seems a bit harder than it needs to be. Good documentation, but my head hurts trying to bridge the gap between what it describes and what I need to accomplish.

jexcepapi seems to have a simpler, nicer (for me) interface, but doesn't have very good documentation or community.

Which would you use, and why?

解决方案

What's wrong with xlwt?

这篇关于我应该使用哪个库来编写Linux / Python的XLS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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