We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6937a6d commit a7d44eeCopy full SHA for a7d44ee
Python/Extract_Contents_of_Zip/script.py
@@ -1,9 +1,8 @@
1
from zipfile import ZipFile
2
3
def main():
4
- # Enter the name of zip file
+ # Enter the path of the zip file
5
zipFile = input("Enter zip file:")
6
- # Enter the path of the file to be extracted
7
print("Extracted file in ZIP to current directory")
8
# create a ZipFile object in READ mode and name it as zipObj
9
with ZipFile(zipFile, 'r') as zipObj:
0 commit comments