title: PySerial Creating a Newline for Easy Reading
body: <p>So this is my second time posting on SO, and I must say I really appreciate all the help I've received from the first post. This is a wonderful community.</p>
  
  <p>I'm using Python with PySerial to send some data from one device to another. Here's what I got:</p>
  
  <pre><code>import serial
  s=serial.Serial(2) #defining COM port 3 for device 1
  r=serial.Serial(3) #defining COM port 4 for device 2
  s.timeout=3
  r.timeout=3
  s.write('The time is ')
  s.write('The day is ')
  s.write('The temp is ')
  r.readline()
  </code></pre>
  
  <p>and I receive on the output 'The time is The day is The temp is'</p>
  
  <p>How could I get the output to say:</p>
  
  <p>The time is </p>
  
  <p>The day is </p>
  
  <p>The temp is    </p>
  
  <p>?</p>
  
  <p>I've tried using \n to each of them, for example, s.write('The time is \n') to create a newline but this causes and eol, which means, in the end if I do a r.readline() I receive 'The time is \n'</p>