DAT file compilation

Nick Craig-Wood nick at craig-wood.com
Mon Oct 2 04:30:08 EDT 2006


Jay <jaysherby at gmail.com> wrote:
>  Diez B. Roggisch wrote:
> > Jay schrieb:
> > > Is there a way through python that I can take a few graphics and/or
> > > sounds and combine them into a single .dat file?  If so, how?  And how
> > > can I access the data in the .dat file from inside the python script?
> > 
> > Use a zip-file. See the zipfile-module.
>
>  That's one solution, but I'd rather a file format the end-user can't
>  easily mess around with.

Just don't give it a .zip extension.  Works for java and .jar, and
openoffice and all of its many extensions.

If you are feeling really paranoid then encrypt it.

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list