I am able to compile the code but I cannot locate my csv file so I do not think it is being generated.
The method should create and write to a csv file. What I do know is where is it being created and how to I define where I want it to be created if it is working.
def generateCSVfile(fileName,fileDescription,fileLocation,md5Hash):
with open('deploymentTemplate.csv', 'w') as csvfile:
createRow = csv.writer(csvfile, delimiter=' ',
quotechar='|', quoting=csv.QUOTE_MINIMAL)
createRow.writerow([fileName,' ', fileDescription,' ', fileLocation,' ', md5Hash])