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


Groups > comp.lang.python > #46411

Re: The state of pySerial

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <wrw@mac.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.076
X-Spam-Evidence '*H*': 0.85; '*S*': 0.01; 'broken': 0.04; 'interfaces': 0.04; '(python': 0.07; 'puts': 0.07; 'pypi': 0.07; 'idea?': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'programs.': 0.14; 'modem': 0.16; 'received:mac.com': 0.16; 'side.': 0.16; 'all.': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'finished': 0.19; 'received:10.0.1': 0.19; 'machine': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; "i've": 0.25; 'second': 0.26; 'external': 0.29; "doesn't": 0.30; 'programming.': 0.30; 'url:mailman': 0.30; 'gives': 0.31; 'go.': 0.31; 'probably': 0.32; 'stuff': 0.32; 'another': 0.32; 'url:python': 0.33; '"the': 0.34; 'could': 0.34; 'but': 0.35; 'add': 0.35; 'there': 0.35; '2.6': 0.36; 'url:listinfo': 0.36; 'charset:us-ascii': 0.36; 'hi,': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'project': 0.37; 'received:10': 0.37; 'outstanding': 0.38; 'received:17': 0.38; 'pm,': 0.38; 'bill': 0.39; 'users': 0.40; 'url:mail': 0.40; 'skip:u 10': 0.60; 'subject:The': 0.64; 'interest': 0.64; 'forward': 0.65; 'to:addr:gmail.com': 0.65; 'world': 0.66; 'side': 0.67; 'physical': 0.72; 'serial': 0.72; 'power': 0.76; 'life.': 0.83; '2.5.': 0.84; 'header:In-reply-to:1': 0.84; 'positively': 0.84; 'unaware': 0.84; 'absolutely': 0.87; '2013,': 0.91; 'bless': 0.91; 'homepage': 0.91; 'sensors': 0.91; 'pc.': 0.93; 'state.': 0.95
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-05-29_05:2013-05-29, 2013-05-29, 1970-01-01 signatures=0
X-Proofpoint-Spam-Details rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1305290207
Content-type text/plain; charset=us-ascii
MIME-version 1.0 (Mac OS X Mail 6.3 \(1503\))
Subject Re: The state of pySerial
From William Ray Wing <wrw@mac.com>
In-reply-to <CAGVx7UVrvZUzwYAyj8Yj+1wOm9q_jf_UDwYLgx2u1w+Vv1-rLQ@mail.gmail.com>
Date Wed, 29 May 2013 16:00:58 -0400
Content-transfer-encoding quoted-printable
References <CAGVx7UVrvZUzwYAyj8Yj+1wOm9q_jf_UDwYLgx2u1w+Vv1-rLQ@mail.gmail.com>
To Ma Xiaojun <damage3025@gmail.com>
X-Mailer Apple Mail (2.1503)
Cc python-list <python-list@python.org>, William Ray Wing <wrw@mac.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2379.1369861273.3114.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369861273 news.xs4all.nl 15873 [2001:888:2000:d::a6]:49434
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:46411

Show key headers only | View raw


On May 29, 2013, at 2:23 PM, Ma Xiaojun <damage3025@gmail.com> wrote:

> Hi, all.
> 
> pySerial is probably "the solution" for serial port programming.
> Physical serial port is dead on PC but USB-to-Serial give it a second
> life. Serial port stuff won't interest end users at all. But it is
> still used in the EE world and so on. Arduino uses it to upload
> programs. Sensors may use serial port to communicate with PC. GSM
> Modem also uses serial port to communicate with PC.
> 
> Unforunately, pySerial project doesn't seem to have a good state. I
> find pySerial + Python 3.3 broken on my machine (Python 2.7 is OK) .
> There are unanswered outstanding bugs, PyPI page has 2.6 while SF
> homepage still gives 2.5.
> 
> Any idea?
> -- 
> http://mail.python.org/mailman/listinfo/python-list

Let me add another vote/request for pySerial support.  I've been using it with python 2.7 on OS-X, unaware that there wasn't a path forward to python 3.x.  If an external sensor absolutely positively has to be readable, then RS-232 is the only way to go.  USB interfaces can and do lock up if recovery from a power failure puts power on the external side before the computer has finished initializing the CPU side.  RS-232, bless its primitive heart, could care less.

Thanks,
Bill

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: The state of pySerial William Ray Wing <wrw@mac.com> - 2013-05-29 16:00 -0400

csiph-web