Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tristan Cavelier
toolbox
Commits
2e47249f
Commit
2e47249f
authored
Dec 15, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove cros-unzip.py because `python -m zipfile -e ARCHIVE TARGET` do the work
parent
b22ebe53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
cros-unzip.py
cros-unzip.py
+0
-12
No files found.
cros-unzip.py
deleted
100644 → 0
View file @
b22ebe53
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Extracts files from a .zip container to the current working directory.
http://stackoverflow.com/questions/7806563/how-to-unzip-a-file-with-python-2-4
"""
import
sys
import
zipfile
zfile
=
zipfile
.
ZipFile
(
sys
.
argv
[
1
])
# Usage: unzip ZIPFILE
zfile
.
extractall
(
"."
)
zfile
.
close
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment