title: import csv file and return two lists for string and integer respectively without csv module in python
body: <p>I have a list of CSV data like below:</p>
  
  <pre><code>Jim     57      83  55  78
  John        98  91  80  
  Michael 61      88  80  60
  Harry   92      58  50  57
  James   51      97  52  53
  </code></pre>
  
  <p>and I want to return as without importing CSV module, the blank value I want to print None and double quote around name and no quote around integers:</p>
  
  <pre><code>[("Jim",57,None,83,55,78), ("John",None,98,91,80,None), ("Michael",61,None,88,80,60)]....
  </code></pre>
  
  <p>I have tried some code:</p>
  
  <pre><code>def student_mark(studentfile):
       f = open (studentfile, 'r')
       list = []
       for line in f: 
           list.append(tuple(line.strip().split(',')))
       print (list)
  
  studentfile = " users/.../units.csv"
  student_mark(studentfile)                                           
  </code></pre>
  
  <p>But it now results as:</p>
  
  <pre><code>[('Jim','57','','83','55','78'), ('John','','98','91','80',''), ('Michael','61','','88','80','60')
  </code></pre>
  
  <p>Anyone can help me out?</p>