Following is my code:
import zipfile
from zipfile import ZipFile
def extract(zipFilename, dm_extraction_dir) :
zipTest = ZipFile(zipFilename)
zipTest.extractall(dm_extraction_dir)
extract("myzip.zip", "C:/Temp")
when i execute this code, throws ZipFile instance has no attribute 'extractall', I am using python 2.5, interpreter is jython , not sure why i am getting this error.
Please ignore the syntax, to simplify i have trimmed a lot of code.