I have a folder containing multiple .mxd files. I wish to list all of the layer names and data sources for each .mxd from the folder. I am using the following code which lists the above for one .mxd but how do I loop the code to work through all .mxds in the folder?
import arcpy
mxd = arcpy.mapping.MapDocument("D:\MXDs\Air_quality.mxd")
for lyr in arcpy.mapping.ListLayers(mxd):
if lyr.supports("DATASOURCE"):
print " MIS Name: " + lyr.name + " Data Source: " + lyr.dataSource