TypeError: 'NoneType' object is not iterable in Python -
what error typeerror: 'nonetype' object not iterable
mean?
i getting on python code:
def write_file(data,filename): #creates file , writes list open(filename,'wb') outfile: writer=csv.writer(outfile) row in data: ##above error thrown here writer.writerow(row)
it means "data" none.
Comments
Post a Comment