Which of the following correctly describes the general syntax for a function in ArcPy?
Answer
arcpy.<functionname>.<arguments>
arcpy_<functionname>_<arguments>
arcpy.<functionname>(<argumnets>)
arcpy.<functionname>_<arguments>
arcpy_<functionname>(<arguments>)
Question 9
Question
Consider the following code:
import arcpy
myprj = "c:/data/example.prj"
spatialref = arcpy.SpatialReference(myprj)
In the last line of code, myprj is a __ of the SpatialReference __.
Answer
function, module
function, class
property, class
property, module
parameter, class
parameter, function
Question 10
Question
Which of the following is used to retrieve all error messages from executing a geoprocessing tool?