Python Print Newline Drama

When using the following: def processSerialData():     line = ser.readline()     if len(line) > 2:         print line         appendToFile(line) You’ll notice that the output will automatically append an additional newline sequence ‘/n/r’ If you change print line to print line, (notice the comma following the variable…

Continue Reading