zipfile

Work with ZIP archives. The ZIP file format is a common archive and compression standard. This module provides tools to create, read, write, append, and list a ZIP file. Any advanced use of this module will require an understanding of the format, as defined in PKZIP Application Note.

creating a zip file

Step 1 : –create one folder in desktop insert files:–

Step 2 :– using python program create one zipfile and insert one file in desktop folder(new 18 .txt)

Output:— Run program

Open chat