<br><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 4:21 PM, bobicanprogram <span dir="ltr"><<a href="mailto:icanbob@gmail.com">icanbob@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Mar 31, 2:47 am, Tracubik <<a href="mailto:affdfsdfds...@b.com">affdfsdfds...@b.com</a>> wrote:<br>
> Hi all!<br>
> i'm giving away to a friend of mine that have a garage (he repair car) my<br>
> old computer. He will use it essentialy to create estimates of the work<br>
> via an ods file (i've made a simple ods file to be filled with the cost of<br>
> materials and a description of the work).<br>
> He's totally new with computer and have difficult to fill the ods file, so<br>
> i'ld like to create a simple python program that help him to introduce the<br>
> data in to the ods file via a simple gui.<br>
> So what i'm looking for is a way in python to insert data in a particular<br>
> cell of the ods file and possibly to save it and print it when it's full<br>
> filled with data.<br>
><br>
> the guy is similar to this:<br>
><br>
> 3 fields: quantity - description of the piece bought - price<br>
><br>
> a way to add a new "line" if needed (for a new piece entry) similar to the<br>
> "add rule" in evolution<br>
><br>
> 1 text field for the description of the work + 1 field for the price of<br>
> the work<br>
><br>
> and off course a way to insert this data in to the ods file via python<br>
><br>
> Any hints/tutorial/info?<br>
><br>
> thanks<br>
> Nico<br>
<br>
<br>
</div></div>OOcalc supports a little known feature whereby data can be<br>
automatically sync'd between the spreadsheet and an HTML table.   A<br>
few years ago I did up a demo of this in action using Tcl/Tk (http://<br>
<a href="http://www.icanprogram.com/hosug" target="_blank">www.icanprogram.com/hosug</a>).  It should not be too hard to port this<br>
idea to Python.<br>
<br>
bob<br>
<div><div></div><div class="h5">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a></div></div></blockquote><div><br></div><div>if he cant click on a cell in oocalc, what makes you think he'll be able to use your program? </div>
</div><br>