title: Remove dot at the end of number
body: <p>I have a txt file that looks like this:</p>
  
  <pre><code>  1,           0.,           0.,           0.
    2,           0.,           0.,         600.
    3,           0.,           0.,        2600.
    4,           0.,           0.,          50.
  </code></pre>
  
  <p>I'd like to read it and create the following list:</p>
  
  <pre><code>['1', '0', '0', '0']
  ['2', '0', '0', '600']
  ['3', '0', '0', '2600']
  ['4', '0', '0', '50']
  </code></pre>
  
  <p>However I only manage to obtain:</p>
  
  <pre><code>['1', '0.', '0.', '0.']
  ['2', '0.', '0.', '600.']
  ['3', '0.', '0.', '2600.']
  ['4', '0.', '0.', '50.']
  </code></pre>
  
  <p>My code looks like:</p>
  
  <pre><code>for line in inputFile:
      fileData.append([x.strip() for x in line.split(',')])
  </code></pre>
  
  <p>EDIT:
  How can I convert my list of strings into a list of integers? tried some variations using the line of code I wrote above but couldn't make it.</p>