log_dir = os.path.abspath(os.path.join(__file__ , "../../", 'logs'))
log_file_path = os.path.join(log_dir, 'Params.txt' % datetime.strftime(datetime.today(), '%Y%m%d'))
I get the following error when I write the above code I don't understand why all of my arguments are strings I am sure. I sense that the problem is in the way I put my space holder but I can't figure it out.
TypeError: not all arguments converted during string formatting
'Params.txt' % datetime.strftime(datetime.today(), '%Y%m%d')to return?