Which of the following correctly describes the general syntax for a function in ArcPy?
Responda
arcpy.<functionname>.<arguments>
arcpy_<functionname>_<arguments>
arcpy.<functionname>(<argumnets>)
arcpy.<functionname>_<arguments>
arcpy_<functionname>(<arguments>)
Questão 9
Questão
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 __.
Responda
function, module
function, class
property, class
property, module
parameter, class
parameter, function
Questão 10
Questão
Which of the following is used to retrieve all error messages from executing a geoprocessing tool?
Responda
print arcpy.GetMessages()
print arcpy.GetMessage(2)
print arcpy.GetMessage()
print arcpy.GetMessages(2)
print arcpy.GetMessages(1)
print arcpy.GetMessage(1)
Quer criar seus próprios Quizzesgratuitos com a GoConqr? Saiba mais.