INTRODUCTION
Users can compress files and folders to any sort of compressed file (.zip,.tar,.tgz, etc.) with this Python script file. After asking the user to choose the folder to compress, a list of the different compressed file types is shown. The application uses the specified file type to compress the chosen folder after the user selects the desired compressed file type from the list. The compressed file will be stored as "name_of_the_folder_date_month_year.zip" if the user chooses the.zip extension.
INSTRUCTION
How to run #Run the Python script by Run the file by executing the following command in your terminal or command prompt: compress-file.py
#Enter the path of the folder you want to compress when prompted. Choose the desired compressed file type by entering the corresponding number. The program will compress the folder and display a message indicating success or failure. Ensure you have necessary permissions to create files in the directory where you run the script.
| Group Member | |
|---|---|
| Vaste Uwase | v.uwase@alustudent.com |
| Liliane Kayitesi | l.kayitesi@alustudent.com |
| Betty Mukankusi | b.mukankusi@alustudent.com |
| Diane INGABIRE | d.ingabire1@alustudent.com |