title: Including \n in a string in python
body: <p>How do i escape \n in a string in python.</p>
  
  <p>How do i write out to stdin in python this string <code>"abc\ndef"</code> as one single input</p>
  
  <pre><code>Sys.stdout.write("abc\ndef")
  </code></pre>
  
  <p><strong>current output</strong> </p>
  
  <pre><code>import sys
  
  &gt;&gt;&gt; sys.stdout.write("abc\ndef")
  abc
  def
  </code></pre>
  
  <p>I would like it to be <code>abc\ndef</code></p>