title: How do I split a line by commas, but ignore commas within quotes Python
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2139750/how-to-read-a-csv-line-with">How to read a CSV line with "?</a>  </p>
  </blockquote>
  
  
  
  <p>I have seen a number of related questions but none have directly addressed what I am trying to do. 
  I am reading in lines of text from a CSV file. </p>
  
  <p>All the items are in quotes and some have additional commas within the quotes. 
  I would like to split the line along commas, but ignore the commas within quotes. 
  Is there a way to do this within Python that does not require a number of regex statements. </p>
  
  <p>An example is:</p>
  
  <pre><code>"114111","Planes,Trains,and Automobiles","50","BOOK"
  </code></pre>
  
  <p>which I would like parsed into 4 separate variables of values: </p>
  
  <pre><code>"114111"  "Planes,Trains,and Automobiles"  "50" "Book"
  </code></pre>
  
  <p>Is there a simple option in <code>line.split()</code> that I am missing ?</p>