opening excel

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

    #1

    opening excel

    Hello,

    has anybody got any experience opening and manilpulating excel
    spreedsheets via python? it seems pythoncom allows this to happen but
    i'm a total newb to it. (i usually work in the unix world)
    all i need to do, is open the xls files and read values from it.
  • John Machin

    #2
    Re: opening excel


    timmy wrote:
    Hello,
    >
    has anybody got any experience opening and manilpulating excel
    spreedsheets via python? it seems pythoncom allows this to happen but
    i'm a total newb to it. (i usually work in the unix world)
    all i need to do, is open the xls files and read values from it.
    If you really mean "read" rather than "manipulate ", have a look at the
    xlrd package (of which I'm the author).



    BTW, it's pure Python; you can run it on your unix box if you like :-)

    Cheers,
    John

    Comment

    • timmy

      #3
      Re: opening excel

      John Machin wrote:
      timmy wrote:
      >
      >>Hello,
      >>
      >>has anybody got any experience opening and manilpulating excel
      >>spreedsheet s via python? it seems pythoncom allows this to happen but
      >>i'm a total newb to it. (i usually work in the unix world)
      >>all i need to do, is open the xls files and read values from it.
      >
      >
      If you really mean "read" rather than "manipulate ", have a look at the
      xlrd package (of which I'm the author).
      >

      >
      BTW, it's pure Python; you can run it on your unix box if you like :-)
      >
      Cheers,
      John
      >
      sweet thats what i'd like to do

      Comment

      • Chris Cioffi

        #4
        Re: opening excel

        You can also check out the pyExcelerator project.

        http://sourceforge.net/projects/pyexcelerator

        It seems to work reasonably well at direct Excel file manipulation.
        However it isn't meant as a VBA replacement kind of thing.

        Chris

        On 11/9/06, at open-networks.net"@b ag.python.org timmy <"timothywrot e:
        Hello,
        >
        has anybody got any experience opening and manilpulating excel
        spreedsheets via python? it seems pythoncom allows this to happen but
        i'm a total newb to it. (i usually work in the unix world)
        all i need to do, is open the xls files and read values from it.
        --

        >

        --
        "A little government and a little luck are necessary in life, but only
        a fool trusts either of them." -- P. J. O'Rourke

        Comment

        Working...