Hello,
I am trying to send some information out of my computer's serial port. I found 
the code posted below online, and the person who posted it said it worked for 
them. However, when I tried the code, nothing was sent through the serial port 
but I didn't receive any error messages. Does anyone know what the problem 
could be?

import serial
ser=serial.Serial(0)
ser.baudrate=9600
ser.port=0
ser.open()
ser.write("hello\n")
ser.close()

Thanks,
Dan
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to