AnsweredAssumed Answered

Error 000732  with ArcPy?   Using just a simple Clip_analysis function.   Just learning Arcpy

Question asked by peyster on Jun 9, 2018
Latest reply on Jun 11, 2018 by Dan_Patterson

>>> import arcpy
... from arcpy import env
... env.workspace = "C:\temp"
... infc = "MDroads.shp"
... clipfc = "MC.shp"
... outfc = "MoCoClip.shp"
... arcpy.Clip_analysis(infc, clipfc, outfc)
...
Runtime error Traceback (most recent call last): File "<string>", line 7, in <module> File "c:\program files (x86)\arcgis\desktop10.6\arcpy\arcpy\analysis.py", line 62, in Clip raise e ExecuteError: ERROR 000732: Input Features: Dataset MDroads.shp does not exist or is not supported ERROR 000732: Clip Features: Dataset MC.shp does not exist or is not supported
>>>

Outcomes