I am new to arcpy and cannot figure out the following syntax error in python:
import arcpy
arcpy.env.workspace = �??Z:\Robins_Stuff\GIS_Data\Thiswontworkdata.gdb�?�
rasters = arcpy.ListRasters()
extension = "_contours"
for raster in rasters:
r = arcpy.Raster(raster)
r0 = r.mean
r1 = r.standardDeviation
r2 = r.mean + (r.standardDeviation * 1.65)
r3 = r.mean + (r.standardDeviation * 2.33)
r4 = r.mean + (r.standardDeviation * 3.10)
arcpy.ContourList(r, str(r) + extension, [r2, r3, r4])
Parsing error <type 'exceptions.SyntaxError'>: invalid syntax (line 2)
I have tripled checked the pathname, and used "\" instead of "/"Any help would be great!