this thing yells at you now.

This commit is contained in:
Tristan Smith 2024-04-07 22:44:57 -04:00
parent 766a841f3c
commit bb851fb3c1

View file

@ -10,7 +10,9 @@ def unzip_files(directory_path):
os.makedirs(output_dir, exist_ok=True) # Create the directory if it doesn't exist
with zipfile.ZipFile(zip_file, 'r') as zip_ref:
zip_ref.extractall(output_dir)
for file in zip_ref.namelist():
print(f"Extracing {file} to {output_dir}")
zip_ref.extract(file, output_dir)
print(f"Extracted {zip_file.name} to {output_dir}")
if __name__ == "__main__":