TransWikia.com

SyntaxError from Python Script tool written using ArcPy

Geographic Information Systems Asked by Cody E on July 7, 2021

I am in an advanced GIS course and was assigned to create a simple tool that is used in the ArcMap toolbox that allows the user to create a buffer of 100 feet. This is the code that I have so far.

import arcpy
cody1=arcpy.GetParametersAsText(0)
100Feet=arcpy.GetParametersAsText(1)
output=arcpy.GetParamtersAsText(2)
arcpy.Buffer_analysis(cody1, 100Feet, output, "")

Does anyone know why the code is not working?

Below is the error I am getting.

enter image description here

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP