Importing .txt data in a particular format
<p>this is a following sample of data</p>

<pre><code>"TABITHA","OLLIE","JAIME","WINIFRED"
</code></pre>

<p>followed by a piece of code that correctly reads it in.</p>

<pre><code>with open("names.txt", 'rb') as f:
    data = [map(str, line.split(',')) for line in f]
</code></pre>

<p>However, this reads it in as a list of lists. The list being only one list 'high', </p>

<pre><code>e.g. [["TABITHA", "OLLIE", "JAIME", "WINIFRED"]]
</code></pre>

<p>and therefore might as well be just a list, not a list of lists. Is there a way to read it in as just a list? The journey of learning continues :- )</p>
