Solved! Go to Solution.
import arcpy from arcpy import env env.workspace = r"C:\temp\python" arcpy.CheckOutExtension("spatial") for raster in arcpy.ListRasters("*"): arcpy.gp.Con_sa(raster, "0", raster + "_con.tif", raster, '"VALUE" < 1')
import arcpy from arcpy import env env.workspace = r"C:\temp\python" arcpy.CheckOutExtension("spatial") for raster in arcpy.ListRasters("*"): arcpy.gp.Con_sa(raster, "0", raster + "_con.tif", raster, '"VALUE" < 1')