How to read line (from a file) and then append + print in python?
<pre><code>for line in file:
    print line
</code></pre>

<p>In the code above when I change it to:</p>

<pre><code>for line in file:
    print line + " just a string"
</code></pre>

<p>This only appends "just a string" to the last line</p>

<p>PS: Python newbie</p>
