Guest User

Untitled

a guest
Mar 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. stop1 = arcpy.GetParameterAsText(0)
  2. stop2 = arcpy.GetParameterAsText(1)
  3.  
  4. expression = ''' "Address" IN '{0}','{1}' '''.format(stop1,stop2)
  5. arcpy.SelectLayerByAttribute_management(layer,"NEW_SELECTION",expression)
  6.  
  7. expression = "Address IN ('{0}','{1}')".format(stop1,stop2)
Add Comment
Please, Sign In to add comment