7
TypeError: l'objet 'NoneType' n'est pas itérable en Python
Que signifie l'erreur TypeError: 'NoneType' object is not iterable? Je l'obtiens sur ce code Python: def write_file(data, filename): # creates file and writes list to it with open(filename, 'wb') as outfile: writer = csv.writer(outfile) for row in data: # ABOVE ERROR IS THROWN HERE writer.writerow(row)