title: Python - Read all files from folder (.shp, .dbf, .mxd etc)
body: <p>Can anyone help me? I'm trying to write a code that will read all the files from a data folder. The files all have different extensions: .shp, .dbf, .sbx, .mxd) I'm using windows. Thanks.</p>
  
  <p>I've got:</p>
  
  <pre><code>import os    
  path=r'C:\abc\def\ghi\'    
  folderList = os.listdir(path)
  </code></pre>
  
  <p>Now I need to read all the files in the folder, so I know I need something like</p>
  
  <p><code>f.open(path)</code>?</p>