title: Casting from a list of lists of strings to list of lists of ints in Python
body: <p>I'm reading some numbers from a data source that represent x- and y-coordinates that I'll be using for a <a href="https://en.wikipedia.org/wiki/Travelling_salesman_problem" rel="nofollow noreferrer">TSP-esque</a> problem.  I'm new to Python, so I'm trying to make the most of lists.  After reading and parsing through the data, I'm left with a list of string lists that looks like this:</p>
  <blockquote>
  <p>[['565.0', '575.0'], ['1215.0',
  '245.0'], ...yougetthepoint...
  ['1740.0', '245.0']]</p>
  </blockquote>
  <p>I would rather be dealing with integer points.  How can I transform these lists containing strings to lists containing ints?  They don't seem to be casting nicely, as I get this error:</p>
  <blockquote>
  <p>ValueError: invalid literal for int()
  with base 10: '565.0'</p>
  </blockquote>
  <p>The decimal seems to be causing issues.</p>