It's been only few days that i've been working in python environment.
Based on this code, i've been trying to batch few process for our QAQC task's. At certain times, like when i use Describe.(path_in_a_csv) i am always getting this error "Input value is not valid type". Even here, only with the help of Philip i was able to make the code run successfully. I tried the same thing arcpy.ExportMosaicDatasetPaths_management(path_in_a_csv,"Output"). The error was "not able to execute the tool".
Though i've been trying to understand this for the past couple of days, i couldn't able to crack it. It'll be of great help if anyone shed a bit of light on how to go from here.
import csv import arcpy from os import path csvpath = r"D:\QAQC\Chk_Rep_File_list.csv" with open(csvpath, "r") as csvfile: fcs = [r for r in csv.reader(csvfile)] for fc in fcs: desc = arcpy.Describe(fcs) RuntimeError: Object: Describe input value is not valid type