Python + OpenOffice Calc

eglyph at gmail.com eglyph at gmail.com
Thu Apr 1 05:38:44 EDT 2010


On Apr 1, 6:53 am, rantingrick <rantingr... at gmail.com> wrote:

> > 3 fields: quantity - description of the piece bought - price
>
> So what is your plan...?
>   * Pop up a dialog with three entrys,
>   * have him fill out the three entrys,
>   * then have python insert the data into the spreadsheet?
> ...Why bother messing with OO, too much trouble for me?

Totally agree with you. No need for a heavy machinery in this case.

> Then just save all the data as csv and you
> can always load it into a spreadsheet later if the IRS comes knocking,
> or you need to print a professional looking spreadsheet ;-).  Simple,
> 100% python solution!

Actually, a spreadsheet based solution isn't best fit for such a task.
I'd recommend to store the data in sqlite3 (also 100% pure python as
the module is in the stdlib). CSV is good for making invoices or
something like that.



More information about the Python-list mailing list