I would like to be able to add the day, month and year to the end of the filename. I plan on running a version of this script every day so I would like it to create a new file each day. I would like the file to look like "beta6.8.2007.csv" Any idea on how to do this?
import csv
import datetime
now = datetime.datetime.now()
day=int(now.day)
month=int(now.month)
year=int(now.year)
writer = csv.writer(open(("beta.csv"), "ab"))
writer.writerow(row)