Task: Create a Compressed Tar Archive Using Python
Task: Create a Compressed Tar Archive Using Python: a task in Terminal-Lego-15k (Harbor dataset). Your task is to write a Python script that creates a compressed .tar.gz (gzipped tar) archive file. The script should be able to compress files and/or directories into a single compressed archive.
Part of PrimeIntellect/Terminal-Lego-15k.