I have the following which I can successfully get my desired results with the input prompt standalone script. Yet, I prefer that a tool I created to be used and display the results. What am I missing in order to view the results?
#Import Modules import csv,os,arcpy #Set variables ifile = open('PythonShellSave.csv','r') reader = csv.reader(ifile) featureclass = input("Name of the feature class ? ") #featureclass = arcpy.GetParameterAsText(0) #Set path location of Excel (CSV) file path = 'C:\WriteMxdInfoToExcel' os.chdir(path) #CSV Module terminology row is horizontal & field is vertical;column is horizontal & row is vertical for excel. for row in reader: for field in row: if field == featureclass: print row  + " " + featureclass arcpy.SetParameterAsText(1,row) #Close Excel (CSV) file ifile.close()