On Sep 2, 2005, at 5:02 PM, Mark Baxter wrote:


On Sep 3, 2005, at 1:57 AM, Bob Ippolito wrote:


Don't name your module serial.


Is there any particular reason why? The PySerial website (http://pyserial.sourceforge.net/) seems to think that it works and all I have done is try to follow the examples.

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.

-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to