Question: Write a Python program zip.py to create a zip file. The program should take name of zip file and files to add to the zip

Write a Python program zip.py to create a zip file. The program should take name of zip file and files to add to the zip file.

Example Run:

Enter zip file name: myZip.zip

Enter file name to zip (enter quit to exit): file1.txt

Enter file name to zip (enter quit to exit): file2.txt

Enter file name to zip (enter quit to exit): file3.txt

Enter file name to zip (enter quit to exit): quit

Please and thank you.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!