CSV READ/WRITE
Read
import csv
	# lesen der csv-Datei
	handleCSV = open(csvFilename, 'r+t', newline = '')  # öffnen zum schreiben als textdatei
	csvreader = csv.reader(handleCSV, delimiter = ';', quotechar = '|', quoting = csv.QUOTE_MINIMAL)
	for sections in csvreader:
		print(sections)

	handleCSV.close()

Write


import csv
		# schreiben aus einer csv-Datei
	handleCSV = open(csvFilename, 'w+t', newline = '')  # öffnen zum schreiben als textdatei
	csvwriter = csv.writer(handleCSV, delimiter = ';', quotechar = '|', quoting = csv.QUOTE_MINIMAL)
	captions = ['Date', 'Time', 'Temp']
	csvwriter.writerow(captions)
	for item in liste:
		csvwriter.writerow(item.getCSVList()) # [1,2,3]
		handleCSV.close()


openfile (Write)