read line from file but store as list (python)
<p>i want to read a specific line in a textfile and store the elements in a list.</p>

<p>My textfile looks like this </p>

<pre><code>'item1' 'item2' 'item3'
</code></pre>

<p>I always end up with a list with every letter as an element</p>

<p>what I tried</p>

<pre><code>line = file.readline()
        for u in line:
            #do something
</code></pre>
