Okay, noticed the syntax issue, but now when it runs, I get a message saying error 2 windows cannot find file specified. I am a bit perplexed. Should I put a chdir to tell the program where the files are? I thought that was passed from the listdr.
today = datetime.date.today()
yesterday = (today + datetime.timedelta(days=-1))
tFile = zipfile.ZipFile("c:\\crunchtime\\CT" + yesterday.strftime('%m%d%y') +".zip", "w")
files = os.listdir("c:\\crunchtime")
for f in files: