Python lab program 7
Python lab program 7
def backup_folder(folder_name):
folder_path = os.path.abspath(folder_name)
backup_file = folder_name + '.zip'
Algorithm:
1. Start
2. Define the function backup_folder(folder_name):
10.End
Output:
Example_folder and xyz_folder are created in the same location