Reading file in python without linebreak
<p>I want to be able to read a file and add a string onto it line by line without having a line break in the middle.</p>

<pre><code>text_file = open("read_it.txt", "r")
print text_file.readline() + "0123456789"
</code></pre>

<p>Outputs to</p>

<pre><code>&gt;&gt;
text
0123456789
&gt;&gt;
</code></pre>

<p>I would like have it output to this format</p>

<pre><code>&gt;&gt;
text0123456789
&gt;&gt;
</code></pre>
