Please check the link above, I wrote this small script in python. It backup files from one directory to the other depends upon the user input. I want to know what are the limitations of this script and all the improvements that can be done to it. So that I can learn from my mistakes, I am total beginner to programming and python. Thanks
Share
Don’t use raw_input, use command-line parameters.
To do this use the optparse module (or argparse for Python 2.7+). Also the use of
os.systemis not recommented, see Replacing Older Functions with the subprocess Module for a replacement.