Is there such thing as File name or handle to write to console?
<p>I am using <code>myFile.write("...")</code> often and sometimes I'd like to see the output in the console rather than re-opening the updated file. I am using IDLE.</p>

<p>So, I'd like to know, instead of going and replacing <code>myFile.write()</code> with <code>print()</code> everywhere, can I replace the filename (<code>output.txt</code>) with something like STDIO when setting the myFile variable?</p>

<pre><code>myFile = open("output.txt", "w")
</code></pre>
