Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
 
PREVIOUS NEXT
Tagged: #bak #files #python
ADD COMMENT
Topic
Name
4+4 =