Hello please help
I just started learning python, and been trying to research on how to fix the problem, but have had no luck
My goal is to make the file name of the tar file with the current date. I'm either getting invalid syntax : or no support of ("path/%s.tar") % now
Any clues, or am I way off.
now = datetime.datetime.now()
tar = tarfile.open("/run/media/user/backup/backup1.tar", "w:tar") # I want to name the .tar file with the current date