AnsweredAssumed Answered

Code Help!!!

Question asked by Shiko on Jun 26, 2013
Latest reply on Jun 26, 2013 by Shiko
Below is a script I'm attempting to write for the selection of appropriate trees to meet certain criteria. I keep getting the following error and I'm not quite sure what to change.
Could somebody suggest what I could try to fix it.

>>> # Select vegetation areas with the correct type

>>> select = arcpy.Select_analysis("Vegetation", "in_memory/select", """ "VEG_TYPE" In ('Coastal Sage-Chaparral Scrub','Diegan Coastal Sage Scrub','Maritime Succulent Scrub')"""
Parsing error SyntaxError: invalid syntax (line 2)