Keep double quotes in a text file using csv reader
<p>Hi I have a text file with string :</p>

<p>hello,"foo, bar"</p>

<p>i want to split it into a list as:</p>

<p><code>['hello', '"foo, bar"']</code></p>

<p>Is there a way I can acheive this ?</p>

<p>I am trying this as of now :</p>

<p><code>for line in sys.stdin:
    csv_file = StringIO.StringIO(line)
    csv_reader = csv.reader(csv_file)</code></p>

<p>I want them to split into two string i.e:</p>

<p><code>'hello' and '"foo, bar"'</code></p>