I cannot get shutil to copy one folder to another.
This code results in the error below. What am I doing wrong?
if os.path.exists(backup + "\\Safety Backup"): pass else: print "Backing up original music. . ." os.mkdir(backup + "\\Safety Backup") for folder in musicFolders: shutil.copy2("C:\ABCD123", backup + "\\Safety Backup") print "Backup complete." os.system("cls")
IOError: [Errno 13] Permission denied: 'C:\\ABCD123'