python 2.7.1 "serial" vs "pyserial"

bruce bushby bruce.bushby at gmail.com
Fri Mar 25 07:27:03 EDT 2011


Hi

Is there any difference between the "serial" module in Python 2.7.1 and
"pyserial 2.5" ?

I can "import serial" without any issues....but when I follow code examples
my scripts complain:
"TypeError: readline() takes no keyword arguments"

However lots of scripts
"import serial"
and then
"ser.readline(size=None, eol=chr(13))"

 ..... whereas I can only
"ser.readline()"
without any keywords or arguments.

Thanks
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110325/a2606883/attachment.html>


More information about the Python-list mailing list