HF RL Explorer

Task: Create a ZIP Archive of a Directory Structure in Python

Task: Create a ZIP Archive of a Directory Structure in Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that creates a zip archive of a directory structure, preserving the folder hierarchy within the archive.

The task

Write a Python script that creates a zip archive of a directory structure, preserving the folder hierarchy within the archive.

Part of PrimeIntellect/Terminal-Lego-15k.