0

I have to use python 2.4.2 to unzip a .zip file. However, the included .zip file in python 2.4.2 does not have either extractall() or extract() attributes. Could someone please tell me how to extract a .zip file with the following structure:

fileABC.zip

- FolderA
    -A.txt
- FolderB
    -B.txt

I just need to extract fileABC.zip to the current directory.

EDIT:

I saw the answer to this question: How to unzip a file with Python 2.4?

However, python 2.4.2 does not seem to have the extract() attribute.

Community
  • 1
  • 1
M Sidhu
  • 49
  • 4

0 Answers0