Can i highlight the print raster in different color? Below I have attached the shapshot, where i trying to highlight in different color only print raster, I have underlined where i trying to put different color, I am running program on Arc GIS python window.
Code i am running : Instead of getting all result by print white color, i just want to print raster name in different color while its printing the name of raster along with statistics valu , so its easy to find out each raster
import arcpy arcpy.env.workspace = r"D:\2008\JANUARY" rasterList = arcpy.ListRasters() for raster in rasterList: rasterObj = arcpy.Raster(raster) print raster bands = arcpy.GetRasterProperties_management(raster, "MEAN") print "MEAN VALUE: %s" %bands
My desire output, i have attached below. i highlight manually by yellow color, i just want to put some code to define the color of list of raster