Skip to main content
7 events
when toggle format what by license comment
May 10, 2017 at 17:54 comment added dsbisht It worked. I only replaced my line with arcpy.gp.RasterCalculator_sa("Con(Mod('{0}',2) == 0,1,0)".format(fin), out). Many Thanks!
May 10, 2017 at 17:52 vote accept dsbisht
May 10, 2017 at 17:42 comment added PMK Try it now with the changes, the syntax error was in the expression.
May 10, 2017 at 17:41 history edited PMK CC BY-SA 3.0
deleted 2 characters in body
May 10, 2017 at 16:26 comment added dsbisht I tried as you said, but it gives error ERROR 000989: Python syntax error: Parsing error SyntaxError: invalid syntax (line 1)
May 10, 2017 at 14:59 history edited PMK CC BY-SA 3.0
deleted 21 characters in body
May 10, 2017 at 14:52 history answered PMK CC BY-SA 3.0