Raspberry Pi - Data Logging and Databases
This Python code is meant to log sensor data but fails to save anything. What is the error?
f = open('data.log', 'w')
f.write('Humidity: 45%')
f.close()