Using Python for file packing
Kushal Kumaran
kushal.kumaran+python at gmail.com
Mon Jun 29 12:23:17 EDT 2009
On Mon, Jun 29, 2009 at 9:17 PM, Aaron Scott<aaron.hildebrandt at gmail.com> wrote:
> I'm working on a Python application right now that uses a large number
> of audio assets. Instead of having a directory full of audio, I'd like
> to pack all the audio into a single file. Is there any easy way to do
> this in Python? My first instinct was to attempt to pickle all the
> audio data, but something tells me that that experiment would only end
> in tears.
Do you mean like a zip or tar file?
http://docs.python.org/library/zipfile.html
http://docs.python.org/library/tarfile.html
--
kushal
More information about the Python-list
mailing list