title: read csv data as integer in python
body: <p>I have an<code>csv</code> file with the data in the following format</p>
  
  <p><code>1,F,1,10,48067
  2,M,56,16,70072
  3,M,25,15,55117
  4,M,45,7,02460
  5,M,25,20,55455
  6,F,50,9,55117
  7,M,35,1,06810
  8,M,25,12,11413
  9,M,25,17,61614
  </code></p>
  
  <p>now i want to read each line and store one row in a list and also convert M to 1 and F to 0. How can this be done in python</p>
  
  <p>Something like </p>
  
  <blockquote>
    <p>temp = [1,0,25,17,2414]</p>
  </blockquote>