Re: Broken examples

2008-08-12 Thread norseman
John Machin wrote: On Aug 12, 10:36 am, norseman <[EMAIL PROTECTED]> wrote: Tim; Finally got a chance to test your snippet. Thank you for it! I took the liberty of flushing it out a bit. ...(snip) Why do you want to save as CSV? Would you be happier with a simple

Re: Broken examples

2008-08-12 Thread John Machin
On Aug 13, 3:48 am, norseman <[EMAIL PROTECTED]> wrote: > Using the Python supplied CSV module now makes handling a variety of > .xls files a real snap. "Variety" of real spread sheet types, yes. The > butchered type that should have been done in Word - probably never. Please explain how the *CSV

Re: Broken examples

2008-08-12 Thread norseman
Tim Roberts wrote: norseman wrote: Tim; Finally got a chance to test your snippet. Thank you for it! I took the liberty of flushing it out a bit. #!/--- # import os import win32com.client excel = win32com.client.Dispatch( 'Excel.Application' ) excel.Visible=1

Re: Broken examples

2008-08-11 Thread Tim Roberts
norseman wrote: Tim; Finally got a chance to test your snippet. Thank you for it! I took the liberty of flushing it out a bit. #!/--- # import os import win32com.client excel = win32com.client.Dispatch( 'Excel.Application' ) excel.Visible=1# shows the spread

Re: Broken examples

2008-08-11 Thread John Machin
On Aug 12, 10:36 am, norseman <[EMAIL PROTECTED]> wrote: > Tim; > Finally got a chance to test your snippet. Thank you for it! > > I took the liberty of flushing it out a bit. > > #!/--- > # > import os > import win32com.client > > excel = win32com.client.Dispatch( 'Excel.A

Re: Broken examples

2008-08-11 Thread norseman
Tim; Finally got a chance to test your snippet. Thank you for it! I took the liberty of flushing it out a bit. #!/--- # import os import win32com.client excel = win32com.client.Dispatch( 'Excel.Application' ) excel.Visible=1# shows the spreadsheet (can be

Re: Broken examples

2008-07-24 Thread Tim Roberts
norseman <[EMAIL PROTECTED]> wrote: > >I'm only talking about IPC related. >I have googled, yahooed, and so forth for several months now. ALL >examples I've come across have failed including those pertinent in the >Python doc area. > >Outline: > cd somedir > ls -1 *.xls >thislist

Re: Broken examples

2008-07-24 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, norseman wrote: > Lawrence D'Oliveiro wrote: > >> In message <[EMAIL PROTECTED]>, norseman >> wrote: >> >>> The OOo examples do not work. >> >> I have done OOo scripting in Python. What exactly does not work? > > soffice "-accept=socket,host=localhost,port=2002;ur

Re: Broken examples

2008-07-24 Thread norseman
Lawrence D'Oliveiro wrote: In message <[EMAIL PROTECTED]>, norseman wrote: The OOo examples do not work. I have done OOo scripting in Python. What exactly does not work? -- http://mail.python.org/mailman/listinfo/python-list === file: z.scr -- #!/bin/bash cd

Re: Broken examples

2008-07-24 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, norseman wrote: > The OOo examples do not work. I have done OOo scripting in Python. What exactly does not work? -- http://mail.python.org/mailman/listinfo/python-list

Re: Broken examples

2008-07-23 Thread Terry Reedy
norseman wrote: I'm only talking about IPC related. I have googled, yahooed, and so forth for several months now. ALL examples I've come across have failed including those pertinent in the Python doc area. Outline: cd somedir ls -1 *.xls >thislist #ls hyphen one python pro

Broken examples

2008-07-23 Thread norseman
I'm only talking about IPC related. I have googled, yahooed, and so forth for several months now. ALL examples I've come across have failed including those pertinent in the Python doc area. Outline: cd somedir ls -1 *.xls >thislist #ls hyphen one python process.py