Answers for "how to make bak files with python"

0

how to make bak files with 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)
Posted by: Guest on October-06-2021

Code answers related to "how to make bak files with python"

Python Answers by Framework

Browse Popular Code Answers by Language