Hi, I am still new in python. I would appreciate your guidance in looking at my script tool. I like to use your previous example to work on my tool. Can you help me?
#Usage: CompositeBand_management in_rasters;in_rasters...out_raster
from arcpy import env
arcpy.env.overwriteOutput = True
env.workspace = r"F:\Programming Final\Input"
rasterList = [ ]
x = 1
for root, dirs, files in os.walk(path_images):
for name in files:
bands = os.path.join(root,name)
if len(rasterList) > 0:
out_raster = path_images + "\\"+"Raster.tif"
x += 1