[Tutor] MS Word and MS Excel on Linux

Gerhard Venter s.venter at ntlworld.com
Mon Oct 25 13:01:01 CEST 2004


How about xlhtml and wvware.  These easy to use programs can be called 
from os.popen, and run on Linux and Windows

http://chicago.sourceforge.net/xlhtml/
wvware - http://wvware.sourceforge.net/

Gerhard



Kent Johnson wrote:

> OK, I think I get it now. I'm replying to the whole list so everyone 
> can help
>
> From your original post it sounds like the Python program is going to 
> run on a Linux machine. So I think your question is, How can a Python 
> program running on a Linux computer find and open MS Word and Excel 
> files located on network shares?
>
> If the Python program is running on Windows you will have an easier 
> time of it. You can use the Python win32all library and MS COM 
> interface to read Word and Excel files.
>
> Without COM, I know of a Java solution that reads and writes Excel 
> files - the Jakarta Poi project - http://jakarta.apache.org/poi/
> You could write your program in Jython and use this library. Poi has a 
> Word component also but it is immature.
>
> Anyone else have an idea?
> Kent
>
> At 01:58 AM 10/25/2004 -0500, Anthony P. wrote:
>
>> Hi Kent,
>>
>> Basically, I am wanting to search out fileshares on a network and then
>> find all of the files of certain types within those file shares. I
>> will then open each file and create a searchable index of the files
>> contents.
>>
>> I think Python can help because it will allow me to easily find and
>> index word and excel files.
>>
>> Anthony
>>
>>
>> On Sat, 23 Oct 2004 06:45:18 -0400, Kent Johnson
>> <kent_johnson at skillsoft.com> wrote:
>> > I'm sorry, I still don't understand what you are trying to do, what 
>> the
>> > problem is, or how you think Python might help.
>> >
>> > Kent
>> >
>> >
>> >
>> > At 02:09 AM 10/23/2004 -0500, you wrote:
>> > >Hi Kent,
>> > >
>> > >Thanks for your response to my query. The files will be on a mixed
>> > >network that uses Windows, Linux, and maybe some Solaris. File 
>> sharing
>> > >will be enabled on all of the machines.  Does this give you any more
>> > >insight?
>> > >
>> > >Thanks!
>> > >Anthony
>> > >
>> > >
>> > >On Fri, 22 Oct 2004 20:49:17 -0400, Kent Johnson
>> > ><kent_johnson at skillsoft.com> wrote:
>> > > > Can you give a few more details? Are the MS files on the Linux 
>> server? What
>> > > > kind of computer is reading the files? Are they accessible 
>> through file
>> > > > sharing?
>> > > >
>> > > > Kent
>> > > >
>> > > >
>> > > >
>> > > > At 02:39 AM 10/21/2004 -0500, Anthony P. wrote:
>> > > > >Hello Everyone,
>> > > > >
>> > > > >Does anyone know of a module that will let me read MS Word and MS
>> > > > >Excel files via a network share but from a Linux server?
>> > > > >
>> > > > >Thanks,
>> > > > >Anthony
>> > > > >_______________________________________________
>> > > > >Tutor maillist  -  Tutor at python.org
>> > > > >http://mail.python.org/mailman/listinfo/tutor
>> > > >
>> > > > _______________________________________________
>> > > > Tutor maillist  -  Tutor at python.org
>> > > > http://mail.python.org/mailman/listinfo/tutor
>> > > >
>> >
>> > _______________________________________________
>> >
>> >
>> > Tutor maillist  -  Tutor at python.org
>> > http://mail.python.org/mailman/listinfo/tutor
>> >
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>



More information about the Tutor mailing list