My adoption and usage of "calc" means that I want to manipulate the spreadsheet stuff easily.<div><br></div><div>This is stuff I cannot do at the moment at the "gig", as its predominately windows, and also windows based "systems" at legacy labs,, >> think a "geotechnical machine that costs 100k shear box with windows 3.1.. and works well still to this day.. "..<br>
<div><br></div><div>Dany.O00 goes some way towards manipulating a sheet with python, but am disappointed that it years olde and no real "active" python dev, unless I missed something..</div><div><br></div><div>For my application in a "goetechnical testing lab", I want to be able to read/write to a sheet.. in pythonic way</div>
<div><br></div><div>Be easy just to do simple things, imagined in a heaven below</div><div>eg psudeo code.ish</div><div><br></div><div>### This is the Temparature measurement machine slave</div><div><br></div><div>JOB = {'job_id': 12345678, 'foo': 'bar', 'result': None}</div>
<div><br></div><div>import LibreOffice as LO</div><div><br></div><div>spread_full_path = "/jobs/%s/my_calc_spread_sheet.odf" % JOB.job_id # whatever extension</div><div><br></div><div>spreadMe = LO.open(spread_full_path)</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>mySheet = spreadMe.sheet("foo", create=True) # create's if not exist, otherwise error</div><div><br></div><div>mySheet.append( My_Data )</div>
<div><br></div><div>mySheet.close()</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">##// analyse data</div><div>analysysReader = LO.Open(<meta http-equiv="content-type" content="text/html; charset=utf-8">spread_full_path, read_only=True) # or pyton adoption.. prefer verbose..</div>
<div>aResult = <meta http-equiv="content-type" content="text/html; charset=utf-8">analysysReader.sheets()[0].range("x_total")</div><div>if aResult > JOB.test.limitz:</div><div> send_message(aResult)</div><div>
<br></div><div>Thats all we need guys..</div><div><br></div><div><br></div><div>Now here is the deal..</div><div><br></div><div>If we can take this seriously then I'm in.. already got a danny.ooo site hiking but crazy accumulation and we need to appraises and take a "strategic" plan, stick some venom in there, poison the situation etc.. and some out with a full anhydrite, ie go to your grandma's house and cut and paste them olde docs..</div>
<div><br></div><div>In conclusion:</div><div>Anyone into developing the python.API and making it simple and idiot proff</div><div><br></div><div>Pete</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>