Convert PySerial to python 3.0

Seth king.seth at gmail.com
Tue Feb 24 22:46:19 EST 2009


I am just messing around trying to get pyserial to work with 3.0.

I am stuck on this line:

if type(port) in [type(''), type(u'')]


how can I convert this to 3.0? I tried changing the u to a d that did
not do anything.

Thanks



More information about the Python-list mailing list