Raspberry Pi - Data Logging and Databases
You run this code on your Raspberry Pi but the CSV file remains empty:
What is the likely problem?
import csv
file = open('log.csv', 'w')
writer = csv.writer(file)
writer.writerow(['Date', 'Value'])
file.close()What is the likely problem?
