Skip to content

Your goal for this challenge is to write a Python function to build a ZIP archive.

License

Notifications You must be signed in to change notification settings

hr21don/stunning-octo-guide-Archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stunning-octo-guide-Archive

Your goal for this challenge is to write a Python function to build a ZIP archive.

Input

you want to include, a list of file extensions, and an output file path for the resulting archive.

Output

The function should search the input directory and all of its subdirectories for files with the specified extension and then package them together into a ZIP file.

Tips

Zip file should maintain folder structure relative to the top-level directory.

How to Run? Remember these three parameters| search_dir | extension_list | output_path

for e.g.

zip_all(r'.\my_stuff', ['.png'], 'my_stuff.zip')

About

Your goal for this challenge is to write a Python function to build a ZIP archive.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages