excel library without COM

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • james_027

    #1

    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

  • kyosohma@gmail.com

    #2
    Re: excel library without COM

    On Jun 3, 7:59 pm, james_027 <cai.hai...@gma il.comwrote:
    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:



    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

    Comment

    • Waldemar Osuch

      #3
      Re: excel library without COM

      On Jun 3, 6:59 pm, james_027 <cai.hai...@gma il.comwrote:
      is there any library to help me write excel files without using win
      com?
      One option is:



      Comment

      • yuce

        #4
        Re: excel library without COM


        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...@gma il.comwrote:
        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

        Comment

        • John Machin

          #5
          Re: excel library without COM

          On Jun 4, 3:52 pm, yuce <yucete...@gmai l.comwrote:
          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

          Comment

          • james_027

            #6
            Re: excel library without COM

            On Jun 4, 8:16 pm, John Machin <sjmac...@lexic on.netwrote:
            On Jun 4, 3:52 pm, yuce <yucete...@gmai l.comwrote:
            >
            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

            Comment

            • John Machin

              #7
              Re: excel library without COM

              On Jun 5, 1:04 pm, james_027 <cai.hai...@gma il.comwrote:
              On Jun 4, 8:16 pm, John Machin <sjmac...@lexic on.netwrote:
              >
              On Jun 4, 3:52 pm, yuce <yucete...@gmai l.comwrote:
              >
              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?
              >
              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).


              Comment

              • james_027

                #8
                Re: excel library without COM

                On Jun 5, 6:17 pm, John Machin <sjmac...@lexic on.netwrote:
                On Jun 5, 1:04 pm, james_027 <cai.hai...@gma il.comwrote:
                >
                >
                >
                On Jun 4, 8:16 pm, John Machin <sjmac...@lexic on.netwrote:
                >
                On Jun 4, 3:52 pm, yuce <yucete...@gmai l.comwrote:
                >
                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?
                >
                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).
                Thanks a John

                Now my searching is over

                Comment

                Working...