Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #58430
| References | <CAHq3d9A+Fud2JkDvdw=xOOmCGCviAsffpJOX6cf99KeS1H3Nfg@mail.gmail.com> |
|---|---|
| Date | 2013-11-03 20:35 -0800 |
| Subject | Re: Automation |
| From | Dan Stromberg <drsalists@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2006.1383539750.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On Sun, Nov 3, 2013 at 8:19 AM, Renato Barbosa Pim Pereira < renato.barbosa.pim.pereira@gmail.com> wrote: > I have one .xls file with the values of PV MV and SP, I wanna to calculate > Kp Ki Kd with python from this file, can anyone give me any suggestion > about how can I do this? From now, thanks. > You're being rather vague, so my answer is vague too. I won't attempt to deal with the formulas for your conversions - apparently that's your business. But for dealing with xls files, I recommend saving to and reading from .csv files; Python deals great with these. If you're not concerned about getting (further) locked into a dying, binary-only platform, you could use xlrd and xlwt though. It looks like xlrd runs on 2.x and 3.x, while xlwt is still 2.x only - that's another reason to go with csv, which works well with 2.x and 3.x for reading and writing.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Automation Dan Stromberg <drsalists@gmail.com> - 2013-11-03 20:35 -0800
csiph-web