title: How to get data from CSV file in Python?
body: <p>I am using csv.reader to read file but it giving me whole file.</p>
  
  <pre><code>file_data = self.request.get('file_in');
  file_Reader = csv.reader( file_data );
  for fields in file_Reader:
  </code></pre>
  
  <p>I want one line at a time and separate data from that line.</p>
  
  <pre><code>ex: filedata = name,sal,dept
                 x,12000,it
  o\p=
  name
  sal
  dept
  .
  .
  .
  </code></pre>