I'm trying to write a daily csv file but would like the title of the csv file to specify today's date.
It seems to be failing every time but I'm sure there's an easy way to do this..? Hopefully this isn't a duplicate but can't seem to find another question similar.
At the minute I've just tried this;
from datetime import date
morningupdate.to_csv('morningupdate' + '_' + date.today() '.csv')
My brain is completely broken with this, any help much appreciated!