title: Are there any equivalent for groovy """ in python?
body: <p>I'm very new to python. I'm from groovy and I use <code>""""</code> to write some text into files the way I wish. </p>
  
  <p>Are there any equivalent way in python to?</p>
  
  <p>Note that I want to create a file that has more than 20 lines. So I need some easy and elegant way.</p>
  
  <p>Thanks in advance.</p>