[BangPypers] Extracting zipfile

murugadoss murugadoss2884 at gmail.com
Mon May 31 02:26:59 CEST 2010


I am trying to extract a zipfile, using zipfile.extractall(). when i do so,
 i am getting an error as "AttributeError: 'module' object has no attribute
'extractall' "

>>> zipfile.extractall("home/murugadoss/testfile.zip")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'extractall'

I have checked the file using zipfile.is_zipfile(),

>>> zipfile.is_zipfile("/home/murugadoss/testfile.zip")

can anyone please help me.

Thanks & Regards

More information about the BangPypers mailing list