Hubert-Dudek
Databricks MVP

After uploading the zip, copy the path to it from UI and unzip with something similar to:

import zipfile
import io
import os
 
zip_file = "/dbfs/tmp/tmp.zip"
with zipfile.ZipFile(zip_file, "r") as z:
 
    for filename in z.namelist():
 
        with z.open(filename) as f:
 
            extracted_file = os.path.join("/dbfs/tmp/", filename)
            with open(extracted_file, "wb") as output:
                output.write(f.read())


My blog: https://databrickster.medium.com/