I'm new to Python but am working with a very simple script to convert elevation units from meters to feet. It works in the Python window but not as a script tool. Below is my script.
arcpy.env.workspace = "C:\Users\keyesge\Desktop"
inputShp = "JunctionElev"
fieldName = "RASTERVALU"
expression = "!RASTERVALU! * 3.28084"
arcpy.CalculateField_management(inputShp, fieldName, expression,"PYTHON")
Any input is appreciated.