<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Sep 2, 2005, at 5:02 PM, Mark Baxter wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><DIV><DIV>On Sep 3, 2005, at 1:57 AM, Bob Ippolito wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV><BR></DIV><DIV>Don't name your module serial.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><FONT class="Apple-style-span" color="#0000DD"></FONT></BLOCKQUOTE></DIV><BR><DIV>Is there any particular reason why? The PySerial website (<A href="http://pyserial.sourceforge.net">http://pyserial.sourceforge.net</A>/) seems to think that it works and all I have done is try to follow the examples.</DIV></BLOCKQUOTE><BR></DIV><DIV>Because "import serial" imports whatever thing it finds named serial, and it's not finding PySerial because you have a module named serial.py.  If the PySerial documentation says "name your script serial.py", then it's dumb because that won't work.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-bob</DIV><DIV><BR class="khtml-block-placeholder"></DIV><FONT class="Apple-style-span" color="#0000DD"></FONT></BODY></HTML>