title: Python textwrap Library - How to Preserve Line Breaks?
body: <p>When using Python's textwrap library, how can I turn this:</p>
  
  <pre><code>short line,
  
  long line xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  </code></pre>
  
  <p>into this:</p>
  
  <pre><code>short line,
  
  long line xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxxxxx
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>w = textwrap.TextWrapper(width=90,break_long_words=False)
  body = '\n'.join(w.wrap(body))
  </code></pre>
  
  <p>But I get:</p>
  
  <pre><code>short line, long line xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  </code></pre>
  
  <p>(spacing not exact in my examples)</p>