I have a simple python program that writes a few bits of data to a text file every 30 minuets of so. The data does not show up until 2 or 3 entries have been made. Like it get stuck in a buffer or something?
Here is a bit of the code:
Does anyone have an idea why this is happening?
Code: Select all
path = '/home/pi/Desktop/clock_data.txt' days_file = open(path,'a') days_file.write(bob + "\n") print('end of data') days_file.close
Thanks for any and ALL help!