title: Converting scripts to a different version of Python
body: <p>I have some Python scripts written with Python 2.7. I have to use that scripts with Python 3.x, but I have to change so many things like:</p>
  
  <pre><code>print "something"
  </code></pre>
  
  <p>to</p>
  
  <pre><code>print ("something")
  </code></pre>
  
  <p>because Python 3.x doesn't support <em>print</em> function without parenthesis. I don't want to do that  manually because it will be too long and hard. I tried <em>re</em> module but failed. I am stuck, so any help will be appreciated.</p>