On Mon, May 31, 2010 at 05:56, murugadoss <murugadoss2...@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'
http://docs.python.org/library/zipfile.html#zipfile.ZipFile.extractall `extractall' is a method on ZipFile objects. You might need to do something like: z = zipfile.ZipFile(path_to_file) z.extractall(...) _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers