From 568c74f175093635cc320c387d791cfb6ae54cd5 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Wed, 17 May 2023 16:33:54 +0200 Subject: [PATCH] adding unzip module --- unzip.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 unzip.py diff --git a/unzip.py b/unzip.py new file mode 100644 index 0000000..800fb38 --- /dev/null +++ b/unzip.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 +import sys +from zipfile import PyZipFile +for zip_file in sys.argv[1:]: + pzf = PyZipFile(zip_file) + pzf.extractall() \ No newline at end of file