On 2012-06-27, Adam <adam@no_thanks.com> wrote: > The Python script needed a call to ser.close() before ser.open() in > order to work.
IOW, the port opened OK, but when you tried to open it a second time without closing it first, _that's_ when the .open() call failed. That's a restriction built in to Win32. You can't open a serial port that's already open. [Linux doesn't have that restriction.] Why do you need to open it a second time? -- Grant Edwards grant.b.edwards Yow! Send your questions to at ``ASK ZIPPY'', Box 40474, gmail.com San Francisco, CA 94140, USA -- http://mail.python.org/mailman/listinfo/python-list