Re: Unzip File un Python 5.5

2010-07-22 Thread Steven D'Aprano
On Wed, 21 Jul 2010 23:35:32 -0700, Girish wrote: > Hello All, > > I am using Python 2.5. How do I extract all the files and directories in > a zip file? import zipfile z = zipfile.ZipFile("test.zip", mode="r") for internal_filename in z.namelist(): contents = z.read(internal_filename) o

Re: Unzip File un Python 5.5

2010-07-21 Thread nopsidy
hi, hope this helps. http://www.google.com/search?hl=en&q=unzip+file+in+python -- http://mail.python.org/mailman/listinfo/python-list

Unzip File un Python 5.5

2010-07-21 Thread Girish
Hello All, I am using Python 2.5. How do I extract all the files and directories in a zip file? Thanks in advance.. -Girish -- http://mail.python.org/mailman/listinfo/python-list