##==================================
##Mosaic To New Raster
##Usage: MosaicToNewRaster_management inputs;inputs... output_location raster_dataset_name_with_extension
## {coordinate_system_for_the_raster} 8_BIT_UNSIGNED | 1_BIT | 2_BIT | 4_BIT
## | 8_BIT_SIGNED | 16_BIT_UNSIGNED | 16_BIT_SIGNED | 32_BIT_FLOAT | 32_BIT_UNSIGNED
## | 32_BIT_SIGNED | | 64_BIT {cellsize} number_of_bands {LAST | FIRST | BLEND | MEAN
## | MINIMUM | MAXIMUM} {FIRST | REJECT | LAST | MATCH}
import arcpy
arcpy.env.workspace = r"D:\desket\107"
##Mosaic several TIFF images to a new TIFF image
arcpy.MosaicToNewRaster_management("zhengzhou0.TIF;zhengzhou1.TIF;zhengzhou2.TIF;zhengzhou3.TIF",r"D:\desket\107\output", "landsat.tif", "","16_BIT_SIGNED", "15", "7", "MINIMUM","FIRST")
1、py程序解释器调用arcgis的python2.7
2、添加环境变量PYTHONPATH,如图所示