On Jun 11, 2010, at 8:08 AM, Dan Ackerman wrote:
> Hello,
> I need to be able to send some information through my computer's serial port.
> I am using python version 2.6, the pyserial 1.21 module, and the pywin
> module. My code seems to be sending info somewhere, because any print
> statement I
Hi,
I have found that the serial port doesn't get opened sometimes. Here's what
I do:
import serial
ser = serial.Serial()
ser.port = 0
ser.baudrate = 9600
ser.timeout = 1
ser.open()
You can see if the port is open by printing the serial object. In your code
you'll use:
print ser
one of the