Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46414
| From | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: The state of pySerial |
| Date | 2013-05-29 17:38 -0400 |
| References | <CAGVx7UVrvZUzwYAyj8Yj+1wOm9q_jf_UDwYLgx2u1w+Vv1-rLQ@mail.gmail.com> <A979E66F-ACC8-4116-8F21-8F971545DCB8@mac.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2381.1369863510.3114.python-list@python.org> (permalink) |
On 5/29/2013 4:00 PM, William Ray Wing wrote: > 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. Then 'someone' should ask the author his intentions and offer to help or take over. I did some RS-232 interfacing in the 1980s, and once past the fiddly start/stop/parity bit, baud rate, and wiring issues, I had a program run connected to multiple machines for years with no more interface problems. Terry
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: The state of pySerial Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-29 17:38 -0400
csiph-web