I am trying to write a python script that should extract a zip file:
Board: Beagle-bone black ~ 1GHz Arm-Cortex-a8 , Debian whistling Zipfile: /home/milo/my.zip, ~ 8 MB
>>> from zipfile import ZipFile >>> zip = ZipFile("/home/milo/my.zip") >>> zip.extractall(pwd="tst")
other solutions with opening and reading -> writing a zip file and extracting a specific file has the same effect. extraction takes about 3-4 minutes.
Retrieving the same file with only unzipping takes less than 2 seconds.
Does anyone know what my code will win, or even with python zipfile lib ??
Thanks Ajava
source share