title: What does "print >>" do in python?
body: <p>I have to translate a code from python 2 into python 3 and I can't understand what does <code>print &gt;&gt;</code> do and how should I write it in python 3.</p>
  
  <pre><code>print &gt;&gt; sys.stderr, '--'
  print &gt;&gt; sys.stderr, 'entrada1: ', entrada1
  print &gt;&gt; sys.stderr, 'entrada2: ', entrada2
  print &gt;&gt; sys.stderr, '--'
  </code></pre>