Apr-22-2020, 01:06 AM
Thank you. Updated the code. Still needs to add some of the implementation. Please feel free to post the solutions.
with open("C:/Temp/doc.csv","w") as s_doc: csvwriter = csv.writer(s_doc) header = ['name','no','result','grade'] for d in d3.keys(): if type(d3[d] is list: csvwriter.writerow([d3['name'],d3['no'],d,','.join(d3[d]))