I've encountered an issue implementing a code into ArcMap. The original code was:
for fc in fclist:
... arcpy.Clip_analysis(fc, r’C:\GIS_LabManual\Lab10_Manual\Lab10_data\Arb_clip_poly.shp’, r’C:\GIS_LabManual\Lab10_Manual\Lab10_results\’+fc)
The error it shows is "Parsing error SyntaxError: invalid syntax (line 2)."
I then tried to adjust it to the following code (which also had the same error):
for fc in fclist:
... arcpy.Clip_analysis(fc,r’F:GIS_Joseph\Lab10_Joseph\Data_Joseph\Lab_10_data\Lab_10_data\Arb_clip_poly.shp’,r’F:GIS_Joseph\Lab10_Joseph\Results_Joseph\’+fc)
Could you tell what the error might be?
...
in your code, or did you put it into the question to help show indent? (your actual code should have a tab or a couple spaces, not...
) – KHibma Nov 13 '18 at 16:35