import arcpy from arcpy import env import os # Set the workspace for the ListFeatureClass function # env.workspace = "c:/data" # Use the ListFeatureClasses function to return a list of # all shapefiles. # fcList = arcpy.ListFeatureClasses()
arcpy.env.workspace = "c:/data"