简体   繁体   English

在pydev中使用XLWT

[英]Working with XLWT in pydev

I am using the Pydev plugin for eclipse to create a small python script. 我正在使用Pydev Eclipse插件创建一个小的python脚本。 I need to write some data into excell sheets using python .Searching on the internet ,i got xlwt to be the best solution for this . 我需要使用python将一些数据写入excell工作表。在Internet上搜索,我认为xlwt是对此的最佳解决方案。 I downloaded and unpacked the package for xlwt and installed it using easy_install.But still after this i am not able to import the package into my pydev project in eclipse . 我下载并解压缩了xlwt的软件包,并使用easy_install进行了安装。但是在此之后,我仍然无法将该软件包导入eclipse中的pydev项目中。 Is there something that I am missing here ? 我在这里缺少什么吗?

If not xlwt ,is there some other way in which I can write data to excell ? 如果不是xlwt,还有其他方法可以将数据写入excell吗?

I got the thing working .Turns out XLWT dooesnt support Python 3.X ,they have a different version XLWT-future for3.X versions. 我的工作正常了。结果证明XLWT不支持Python 3.X,它们具有不同的XLWT-future for3.X版本。 The new one is working now . 新的现在正在工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM