[BangPypers] Extracting zipfile

Roshan Mathews rmathews at gmail.com
Mon May 31 04:00:50 CEST 2010

On Mon, May 31, 2010 at 05:56, murugadoss <murugadoss2884 at gmail.com> wrote:
>>>> zipfile.extractall("home/murugadoss/testfile.zip")
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'extractall'


`extractall' is a method on ZipFile objects.

You might need to do something like:
z = zipfile.ZipFile(path_to_file)

More information about the BangPypers mailing list