title: Need the path for particular files using os.walk()
body: <p>I'm trying to perform some geoprocessing.  My task is to locate all shapefiles within a directory, and then find the full path name for that shapefile within the directory.  I can get the name of the shapefile, but I don't know how to get the full path name for that shapefile.</p>
  
  <pre><code>shpfiles = []
  for path, subdirs, files in os.walk(path):
      for x in files:
          if x.endswith(".shp") == True:
              shpfiles.append[x]
  </code></pre>