I am using ZipFile in python to unzip a 6GB file. But it seems to be taking over 3hours to do so. I need to find a better alternative to fit within 20mins. Below is the code i have been working with which works perfectly fine but is very slow.
Python: 3.8.8
from zipfile import ZipFile
str_zipFile = 'C:\\Users\\Documents\\Test.zip'
str_pwd= '1234'
with ZipFile(str_zipFile) as zipObj:
zipObj.extractall(pwd = bytes(str_pwd,'utf-8'))
Please suggest a faster method.