from zipfile import ZipFile
with ZipFile('binod.zip', 'r') as zip_object:
zip_object.extractall()
#list of files that are archived in the ZIP file
print(zip_object.namelist())
#clcoding.com
['binod.jpg', 'BumBumBole.gif', 'clcoding.pdf', 'file1.pdf']
0 Comments:
Post a Comment