I'm trying to write python scripts to batch convert thousands of coverages to shapefiles in arcgis 9.3. The coverages files are in different folders:
d:/area_A/building
d:/area_B/building
d:/area_C/building
...
and the output file will be merged or unioned into a single shapefile:
d:/output/building_merged.shp
I'm stuck in iterating all the input folders..here is what I've got so far:
import arcgisscripting
gp = arcgisscripting.create()
try:
gp.Workspace = "d:/area_A/building"
gp.FeatureClassToShapefile("polygon","d:/output")
except:
print gp.GetMessages()