rows = arcpy.SearchCursor("Quadrants") >>> qts = [r.Quotes for r in rows] >>> del rows >>> qts [u"test with quotes' 2", u"test with quotes' 3", u"test with quotes' 4", u"test with quotes' 5"]
for q in qts: ... where = '''"Quotes" = '{0}' '''.format(q.replace("'","''")) ... arcpy.SelectLayerByAttribute_management("Quadrants","NEW_SELECTION", where)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.