Python Script to Export Raster Filenames to dbf

737
3
10-28-2016 10:29 AM
AmandaEggert
New Contributor

I am very new to Python.  However, I am in search of a script to extract the filenames of the rasters in a geodatabase.  Can anyone help me with that?

0 Kudos
3 Replies
DanPatterson_Retired
MVP Emeritus

ListRasters—Help | ArcGIS for Desktop would be the start

then there is What is ArcPy?—Help | ArcGIS for Desktop 

but more importantly, if you can emulate your workflow using tools in arctoolbox, there is always a code snippet at the end of the help topic.

AmandaEggert
New Contributor

I tried using that, but it didn't do anything.

0 Kudos
AmandaEggert
New Contributor

I got it.  Thank you!

0 Kudos