#!/usr/bin/python3 import sys, shutil filename = sys.argv[1] shutil.copy(filename, filename+'.bak')