Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. rtc_id_values = []
  2. with arcpy.da.SearchCursor(rtc_shp, "ID") as scursor:
  3. for srow in scursor:
  4. rtc_id_values.append(srow)
  5.  
  6. with arcpy.da.UpdateCursor(corporate_rtc_dataset, "ID") as ucursor:
  7. for urow in ucursor:
  8. if urow in rtc_id_values:
  9. row.deleteRow()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement