Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Removing characters from rasters and putting them to the front of file name

$
0
0
I need syntax in Arcpy/python that will remove "_pa" from the end of any raster file that has this at the end of its file name. Additionally, on files where this is the case, I want to add "PA_" to the front of these files. Can anyone help me?

Thanks.

Viewing all articles
Browse latest Browse all 2485

Trending Articles