Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Python Programming Language

excel library without COM


Hi,

is there any library to help me write excel files without using win
com? because i'll be working on linux platform. At the same time I
could want to perform some formatting, merging of cells. adding sheets
and etc ...

Thanks
james

On Jun 3, 7:59 pm, james_027 <cai.hai@gmail.com> wrote:

> Hi,

> is there any library to help me write excel files without using win
> com? because i'll be working on linux platform. At the same time I
> could want to perform some formatting, merging of cells. adding sheets
> and etc ...

> Thanks
> james

I'm not aware of any modules. However, this thread is on the same
topic and it mentions using html or txt files as possibilities:

http://mail.python.org/pipermail/python-list/2002-April/138748.html

I would also think that you could write some kind of custom XML parser/
creator that you could use to create the Excel sheet's structure and
then interface with COM later.

Mike

On Jun 3, 6:59 pm, james_027 <cai.hai@gmail.com> wrote:

> is there any library to help me write excel files without using win
> com?

One option is:
https://secure.simplistix.co.uk/svn/xlwt/trunk

i think this one works pretty nice: http://www.python.org/pypi/xlrd

Happy hacking,

Yuce

On Jun 4, 3:59 am, james_027 <cai.hai@gmail.com> wrote:

On Jun 4, 3:52 pm, yuce <yucete@gmail.com> wrote:

> i think this one works pretty nice:http://www.python.org/pypi/xlrd

Sure does :-) However the "rd" in "xlrd" is short for "ReaD". As
Waldemar suggested, "xlwt" ("wt" as in WriTe) is more like what the OP
needs.

Cheers,
John

On Jun 4, 8:16 pm, John Machin <sjmac@lexicon.net> wrote:

> On Jun 4, 3:52 pm, yuce <yucete@gmail.com> wrote:

> > i think this one works pretty nice:http://www.python.org/pypi/xlrd

> Sure does :-) However the "rd" in "xlrd" is short for "ReaD". As
> Waldemar suggested, "xlwt" ("wt" as in WriTe) is more like what the OP
> needs.

> Cheers,
> John

Thanks to all who have contributed. I have one concern though. Many of
the module seems to be not active anymore? or updated? It is because
it really stable and has most of the features needed?

Thanks
james

On Jun 5, 1:04 pm, james_027 <cai.hai@gmail.com> wrote:

xlwt is active, stable enough for heavy use, and will get a public
outing Real Soon Now (after xlrd 0.6.1 final, which is expected Truly
Rooly Real Soon Now).
On Jun 5, 6:17 pm, John Machin <sjmac@lexicon.net> wrote:

Thanks a John

Now my searching is over

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc