Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58430 > unrolled thread

Re: Automation

Started byDan Stromberg <drsalists@gmail.com>
First post2013-11-03 20:35 -0800
Last post2013-11-03 20:35 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Automation Dan Stromberg <drsalists@gmail.com> - 2013-11-03 20:35 -0800

#58430 — Re: Automation

FromDan Stromberg <drsalists@gmail.com>
Date2013-11-03 20:35 -0800
SubjectRe: Automation
Message-ID<mailman.2006.1383539750.18130.python-list@python.org>

[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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web