Everyone uses the .zip archive format to compress and store files, but sometimes you need more flexibility and power than a command-line or GUI archiving tool gives you — or you want to create archives programmatically. Python's got built-in functions for creating and working with zip files, by way of its standard library's zipfile module. This video walks through the basics of using zipfile to create new archives, load files into them, extract files from them, and do other operations.
Register Now