Select to view content in your preferred language

Why we use AddFieldDelimiters function in Python scripting?

418
0
11-04-2019 04:46 AM
MumtazAli
New Contributor

HI.Why we use AddFieldDelimiters function in Python scripting? and Please correction my this syntex. >>> import arcpy >>> from arcpy import env >>> env.workspace = r'D:\Python\Data\Exercise07' >>> fc = "airports.shp" >>> delimiterField = arcpy.AddFieldDelimiters(fc,"COUNTRY") >>> cursor = arcpy.da.SearchCursor(fc,["NAME"],delimiterField += 'Anchorage Borough') >>> for row in cursor: ... print row[0]

0 Kudos
0 Replies