Hi All,
I am trying to use a for loop in arcpy, but am unsure of how to name the output using the variables from the list. I have attached a snippet of the code. Please let me know of any ideas. The list are all variables that are set to shapefiles. Please let me know if you have any ideas. Thanks!
#for loop
x=[ECO, HPA, POT, NAV, OPA]
for i in x:
arcpy.Clip_analysis(i, "Pipeline_Buffer", i + "Areas")