Task: Gzip a File in Python
Task: Gzip a File in Python: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that compresses a file using gzip. The original StackOverflow question attempts to use subprocess.check call() but encounters an OSError: Errno 2 No such file or directory error.
The task
You need to write a Python script that compresses a file using gzip. The original StackOverflow question attempts to use `subprocess.check_call()` but encounters an `OSError: [Errno 2] No such file or directory` error.
Part of PrimeIntellect/Terminal-Lego-15k.