Re: Writing to ms excel



On Aug 31, 11:32 am, Marin Brkic <mbrkic@xxxxxxxxxxxxxxxxxxx> wrote:
On Sat, 30 Aug 2008 17:18:19 -0700 (PDT), John Machin

<sjmac...@xxxxxxxxxxx> wrote:

For Python version 2.[345] on any platform, you can use xlwt, which is
as simple as this for writing a 1-work*** Excel 97-to-2003 XLS file
(without any formatting):

Actually, that might work. What I was needing (aiming for) was a way
to write to excel 2003 files.

"write to a file" has connotations of updating an existing file;
"write a file" or "create a file" are less ambiguous.

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 irrelevant for this
case).
I'm trying to avoid the text file - import to excel - mechanism, since
there is quite a lot of files written.

I suggest that you join the python-excel group (http://
groups.google.com.au/group/python-excel?hl=en) or at least read some
of the questions and responses.

Please, one more question. As you have noticed, I posted my message to
comp.lang.python, using a newsreader.

I hadn't noticed; what makes you think so?

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 every day
does not sound very appealing to me.

Either (1) you have not looked at the messages at the link that I gave
you or (2) your idea of "a lot of messages" every day differs wildly
from mine. Email alternatives are (a) one message per posting (b)
daily digest (c) none (use your web browser).

HTH,
John
.


Quantcast