I'm having trouble reading data from a serial port. <br><br>I'm connected with a null modem to another pc- I can send text fine with the Write() method, so I know the cable and bits are all correct. I'm trying something like 
<br><br>from System.IO.Ports import SerialPort<br>s = SerialPort(PortName='COM1',BaudRate=9600)<br>s.Open()<br>while 1:<br>&nbsp;&nbsp;&nbsp; print s.ReadLine()<br><br>I would expect this to produce a line of text each time the 'return' key was pressed on remote terminal, yet nothing ever happens. The VB examples I have looked at seem to use the ReadLine() method in this way. What's the problem?
<br><br><br><br>