import shutil sourcefile = r'E:\path\to\file\example.ext' destinationfile = r'C:\path\to\where\File\gets\copied\copy_example.ext' shutil.copy(sourcefile, destinationfile)
#specify the workspace rasters are located in ws = "H:\Documents\ArcGIS\Default.gdb" arcpy.env.workspace = ws #for each Raster in the workspace, do something rasters = arcpy.ListRasters() for r in rasters: desc = arcpy.Describe(r) rastername = desc.Name print "Raster Name: %s" % (rastername)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.