title: How to pass multiple lines to clipboard?
body: <p>Is there a way to send multiple lines of text to the clipboard?</p>
  
  <p>I've used following commands but didn't work for me:</p>
  
  <pre><code>import os
  text = """sample one \r\n sample two \r\n sample three"""
  command = 'echo ' + text.strip() + '| clip'.
  os.system(command)
  </code></pre>
  
  <p>I want o/p as</p>
  
  <pre><code>sample one
  
  sample two
  
  sample three
  </code></pre>