Re: Unzipping Files

2005-04-01 Thread Larry Bates
Use something like: import zipfile zfile=zipfile.ZipFile(zipfilename,'r') contents=zfile.read(filenametoread) Stripped out of a working program, but not tested. -Larry Bates Greg Lindstrom wrote: > Hello- > I am trying to read a file from a zip archive. I have read the > documentation on zipf

Re: Unzipping Files

2005-04-01 Thread Swaroop C H
On Apr 1, 2005 8:14 PM, Greg Lindstrom <[EMAIL PROTECTED]> wrote: > How do I read the data from a file in a zip archive? http://www.devshed.com/c/a/Python/Python-UnZipped Regards, -- Swaroop C H Blog: http://www.swaroopch.info Book: http://www.byteofpython.info -- http://mail.python.org/mailman