DEV Community

Discussion on: Why I used Python to unzip a file

Collapse
 
ericfrederich profile image
Eric L. Frederich

I've been in a locked down Docker container for a GitLab runner. Didn't feel like atp-get, yum, or apk installing unzip. You don't need that script, you can run Python's unzip as a module...

python -m zipfile whatever.zip

... Or something like that.

Collapse
 
alvinmilton profile image
Alvin Milton

Hey Eric,
I tried this and it didn't work locally or on the server.
Can you clarify?