Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Just van Rossum <email@hidden>
- Date: Thu, 16 Oct 2003 12:48:49 +0200
Dustin Voss wrote:
>
> how do i handle extracting .zip from within a cocoa application?
>
> i've got a bunch .zip files each with a .gba file in them (there
>
> might be other files in the archive to, but those should just be
>
> ignored). What i want is to read the .gba file to a buffer.
>
>
You need a ZIP library. You might try Googling for one, or maybe you
>
can roll your own with PkWare's specification:
>
http://www.pkware.com/products/enterprise/white_papers/appnote.html
>
>
OS X comes with a library called zlib, but that can only handle one
>
compression method and doesn't understand the file format.
Alternatively you could do it with Python (as an external process): it
comes with a module called "zipfile" that allows you to extract files
from zipfiles:
http://www.python.org/doc/2.2/lib/module-zipfile.html
Just
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.