Re: Writing to ms excel

2008-09-01 Thread Alan G Isaac
http://docs.python.org/lib/module-csv.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing to ms excel

2008-08-31 Thread Alessandro
John Machin wrote: xlrd is still doing what it was designed to do: read (not interface with) Excel xls files. There is a currently active project to add Can xlrd *read* xls files? As far as I have used PyExecelerator, it can only *create* xls file. I'm viewing the xlrd sources, but I can't

Re: Writing to ms excel

2008-08-31 Thread Ken Starks
John Machin wrote: On Aug 31, 11:32 am, Marin Brkic [EMAIL PROTECTED] wrote: Is there a way to access google groups through a similiar interface program as a newsreader. I don't know (question has never arisen before). Never used them before, and getting a lot of messages to my email

Re: Writing to ms excel

2008-08-31 Thread Ken Starks
Marin Brkic wrote: snip ... lots Actually, that might work. What I was needing (aiming for) was a way to write to excel 2003 files. Formatting is not necessary, since what I'm trying to write is some tabular data; results from fortran-python simulation (I can explain, but the details seem

Re: Writing to ms excel

2008-08-31 Thread John Machin
On Aug 31, 7:21 pm, Alessandro [EMAIL PROTECTED] wrote: John Machin wrote: xlrd is still doing what it was designed to do: read (not interface with) Excel xls files. There is a currently active project to add Can xlrd *read* xls files? Follow the bouncing ball and sing along with me: xlrd

Re: Writing to ms excel

2008-08-31 Thread Tino Wildenhain
Alessandro wrote: John Machin wrote: xlrd is still doing what it was designed to do: read (not interface with) Excel xls files. There is a currently active project to add Can xlrd *read* xls files? As far as I have used PyExecelerator, it can only *create* xls file. Thats not true,

Re: Writing to ms excel

2008-08-31 Thread Tino Wildenhain
Marin Brkic wrote: ... I remember an older coleague who said; open, free and whatever licence type ... software is free, only up to some amount of $$/per hour. After that you just want things to work, and if they don't work, there are people who are paid $/per hour to make it work. Well I

Re: Writing to ms excel

2008-08-31 Thread Alessandro
John Machin wrote: xlrd is still doing what it was designed to do: read Excel ... xls files. oops... I had downloaded the sources from https://secure.simplistix.co.uk/svn/xlwt/trunk; eh, xlWT .. obviously I cant find an open function in it.. Could you possibly be viewing the source for

Re: Writing to ms excel

2008-08-31 Thread Marin Brkic
On Sat, 30 Aug 2008 22:09:31 -0700 (PDT), John Machin [EMAIL PROTECTED] wrote: write to a file has connotations of updating an existing file; write a file or create a file are less ambiguous. Hmm, yes, maybe you're right. Write to a file, as in, create a file and then write to it is what I ment

Re: Writing to ms excel

2008-08-31 Thread Marin Brkic
On 31 Aug 2008 04:07:36 GMT, Steven D'Aprano [EMAIL PROTECTED] wrote: On Sun, 31 Aug 2008 05:12:01 +0200, Marin Brkic wrote: I remember an older coleague who said; open, free and whatever licence type ... software is free, only up to some amount of $$/per hour. After that you just want

Writing to ms excel

2008-08-30 Thread Marin Brkic
Hello all, please, let me apologize in advance. English is not my first language (not even my second one), so excuse any errors with which I'm about to embarass myself in front of the general public. Second, I'm relatively new to python, so sorry if this seems like a stupid question. I'm trying

Re: Writing to ms excel

2008-08-30 Thread Eric Wertman
I'm trying to find a way to write data to excel cells (or to be more specific to an .xls file), let's say for the sake of argument, data readen from a file (although it will be calculated in the process). I've been searching, but couldn't find any examples which allows that. The answer will

Re: Writing to ms excel

2008-08-30 Thread Marco Bizzarri
On Sat, Aug 30, 2008 at 4:41 PM, Marin Brkic [EMAIL PROTECTED] wrote: Hello all, I'm trying to find a way to write data to excel cells (or to be more specific to an .xls file), let's say for the sake of argument, data readen from a file (although it will be calculated in the process). I've

Re: Writing to ms excel

2008-08-30 Thread Leonhard Vogt
Marin Brkic schrieb: I'm trying to find a way to write data to excel cells (or to be more specific to an .xls file), let's say for the sake of argument, data readen from a file (although it will be calculated in the process). I've been searching, but couldn't find any examples which allows that.

Re: Writing to ms excel

2008-08-30 Thread Tino Wildenhain
Marin Brkic wrote: Hello all, please, let me apologize in advance. English is not my first language (not even my second one), so excuse any errors with which I'm about to embarass myself in front of the general public. Second, I'm relatively new to python, so sorry if this seems like a stupid

Re: Writing to ms excel

2008-08-30 Thread Tino Wildenhain
Marin Brkic wrote: Hello all, please, let me apologize in advance. English is not my first language (not even my second one), so excuse any errors with which I'm about to embarass myself in front of the general public. Second, I'm relatively new to python, so sorry if this seems like a stupid

Re: Writing to ms excel

2008-08-30 Thread Ken Starks
Marin Brkic wrote: Hello all, please, let me apologize in advance. English is not my first language (not even my second one), so excuse any errors with which I'm about to embarass myself in front of the general public. Second, I'm relatively new to python, so sorry if this seems like a stupid

Re: Writing to ms excel

2008-08-30 Thread John Machin
On Aug 31, 12:41 am, Marin Brkic [EMAIL PROTECTED] wrote: I'm trying to find a way to write data to excel cells (or to be more specific to an .xls file), let's say for the sake of argument, data readen from a file (although it will be calculated in the process). I've been searching, but

Re: Writing to ms excel

2008-08-30 Thread John Machin
On Aug 31, 12:57 am, Eric Wertman [EMAIL PROTECTED] wrote: If you have to interface with an exsisting excel file, you can try http://pypi.python.org/pypi/xlrd, but it may not support writing xls files, still. That remark appears to be an inverted cousin of the old joke question Have you

Re: Writing to ms excel

2008-08-30 Thread Eric Wertman
Yes sorry, that's a really poorly formed sentence all the way around... not a dig on xlrd, but a warning to the OP that they may not find what they are looking for there. On Aug 31, 12:57 am, Eric Wertman [EMAIL PROTECTED] wrote: If you have to interface with an exsisting excel file, you can

Re: Writing to ms excel

2008-08-30 Thread Marin Brkic
On Sat, 30 Aug 2008 17:18:19 -0700 (PDT), John Machin [EMAIL PROTECTED] wrote: Hello John (and everyone else), thanks for answering. It helps in situations like this to mention details of your environment (1) what version of what operating system (Linux, OS X, Windows, etc) (2) what version of

Re: Writing to ms excel

2008-08-30 Thread Marin Brkic
On Sat, 30 Aug 2008 19:37:16 +0200, Marco Bizzarri [EMAIL PROTECTED] wrote: Is it suitable for you to use a python program talking with a running instance of openoffice? in that case, pyuno could help you. Hello Marco, thanks for answering, no, sorry. As much as I like OOffice, several other

Re: Writing to ms excel

2008-08-30 Thread Marin Brkic
On Sun, 31 Aug 2008 03:36:39 +0200, Marin Brkic [EMAIL PROTECTED] wrote: On Sat, 30 Aug 2008 19:37:16 +0200, Marco Bizzarri [EMAIL PROTECTED] wrote: Is it suitable for you to use a python program talking with a running instance of openoffice? in that case, pyuno could help you. Hello Marco,

Re: Writing to ms excel

2008-08-30 Thread Steven D'Aprano
On Sun, 31 Aug 2008 03:36:39 +0200, Marin Brkic wrote: On Sat, 30 Aug 2008 19:37:16 +0200, Marco Bizzarri [EMAIL PROTECTED] wrote: Is it suitable for you to use a python program talking with a running instance of openoffice? in that case, pyuno could help you. Hello Marco, thanks for

Re: Writing to ms excel

2008-08-30 Thread Marin Brkic
On 31 Aug 2008 02:37:16 GMT, Steven D'Aprano [EMAIL PROTECTED] wrote: Of course you can. You could simply tell them that you need the programming interface to OpenOffice and that's the format you will be supplying the data. If they want your data, they will use what you tell them to use *if

Re: Writing to ms excel

2008-08-30 Thread Benjamin Kaplan
On Sat, Aug 30, 2008 at 9:32 PM, Marin Brkic [EMAIL PROTECTED]wrote: On Sat, 30 Aug 2008 17:18:19 -0700 (PDT), John Machin [EMAIL PROTECTED] wrote: Hello John (and everyone else), thanks for answering. It helps in situations like this to mention details of your environment (1) what

Re: Writing to ms excel

2008-08-30 Thread Steven D'Aprano
On Sun, 31 Aug 2008 05:12:01 +0200, Marin Brkic wrote: I remember an older coleague who said; open, free and whatever licence type ... software is free, only up to some amount of $$/per hour. After that you just want things to work, and if they don't work, there are people who are paid $/per

Re: Writing to ms excel

2008-08-30 Thread John Machin
On Aug 31, 11:32 am, Marin Brkic [EMAIL PROTECTED] wrote: On Sat, 30 Aug 2008 17:18:19 -0700 (PDT), John Machin [EMAIL PROTECTED] wrote: For Python version 2.[345] on any platform, you can use xlwt, which is as simple as this for writing a 1-worksheet Excel 97-to-2003 XLS file (without any

Re: Writing to ms excel

2008-08-30 Thread John Machin
On Aug 31, 12:37 pm, Steven D'Aprano [EMAIL PROTECTED] cybersource.com.au wrote: Only because we treat it as standard. You had no hesitation to write code that relies on people having Excel installed, and yet you didn't want to rely on an open source free software package that anyone with a