pboehnlein

Wildcards?

Discussion created by pboehnlein on May 23, 2011
Latest reply on May 23, 2011 by pboehnlein
I have a group of raster datasets, some .Tiff's, some .jpg's.  I want to perform arcpy.ImportMetadata_conversion on them.  I recall doing something similar in Windows command line using something like...

FOR %f in (*.tif) DO arcpy.ImportMetadata_conversion(example.xml, *.tif)

I think that's called a wildcard?  Is there something equivalent I can do in Python?  Could someone show me an example?  Please forgive my newbieness.

Outcomes