title: Access contents from a list in for loop?
body: <p>I can't think of a solution for this:</p>
  
  <p>i have this list: <code>shapefiles</code></p>
  
  <p>i want to make a process for every shapefile in the list but the problem is that it is a list of lists:</p>
  
  <pre><code>for i in shapefiles:
      inte_s = gpd.read_file(i) #Apparently it is wrong to just use i.
      etc..
  </code></pre>
  
  <p>How can I make it access each one at a time from the list?</p>
  
  <p>To get a an idea of how is the list, check these tests.</p>
  
  <pre><code>shapefiles[0]
  ['C:\\Users\\user\\Desktop\\fffff\\INTE_PST_NO_EK_WITH_ASTTOM\\INTE_SHP_TESTA\\INTE1.shp',
   'C:\\Users\\user\\Desktop\\fffff\\INTE_PST_NO_EK_WITH_ASTTOM\\INTE_SHP_TESTB\\INTE1.shp']
  
  for i in shapefiles:
      print(i)
  ['C:\\Users\\user\\Desktop\\fffff\\INTE_PST_NO_EK_WITH_ASTTOM\\INTE_SHP_TESTA\\INTE1.shp', 
  'C:\\Users\\user\\Desktop\\fffff\\INTE_PST_NO_EK_WITH_ASTTOM\\INTE_SHP_TESTB\\INTE1.shp']
  
  for i in shapefiles:
      print(i[0])
  C:\Users\user\Desktop\fffff\INTE_PST_NO_EK_WITH_ASTTOM\INTE_SHP_TESTA\INTE1.shp
  
  for i in shapefiles:
      print(i[1])
  C:\Users\user\Desktop\fffff\INTE_PST_NO_EK_WITH_ASTTOM\INTE_SHP_TESTB\INTE1.shp
  </code></pre>