Comment faire des fichiers BAK avec Python
import shutil
import os
if os.path.exists("creating file with python function"):
path = os.path.realpath("creating file with python function")#path of the file you want to copy
makebackup = "path where you want to save the file as backup " + ".bak"
shutil.copy(path, makebackup)
Programmer of empires