I've got problem with python to use select by attributes to my layer called "World Cities". I type this script:arcpy.SelectLayerByAttribute_management ("World Cities","NEW_SELECTION","CITY_NAME" = 'Abancay')and I see : Runtime error SyntaxError: keyword can't be an expression (<string>, line 1)When I'm trying this tool in arcgis not by python everything is ok, but in script I see this error. Please help!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.