[Tutor] File compression
Dave Kuhlman
dkuhlman at rexx.com
Wed Jun 28 19:31:00 CEST 2006
On Tue, Jun 27, 2006 at 03:27:47PM -0700, Matthew White wrote:
> Hi Magnus,
>
> I would check out the python tarfile module:
>
> http://docs.python.org/lib/module-tarfile.html
>
> Looks like it will compress with bzip too!
Also look at the following:
- http://docs.python.org/lib/module-zipfile.html
- http://docs.python.org/lib/module-zlib.html
- http://docs.python.org/lib/module-gzip.html
- http://docs.python.org/lib/module-bz2.html
Dave
>
> -mtw
>
> On Wed, Jun 28, 2006 at 12:19:19AM +0200, Magnus Wirström (asdlinux at yahoo.se) wrote:
> > Hi Everyone
> >
> > I'm starting to python and i need to write a program that are able to
> > compress a high amount of files and directories into a single file that
> > is later going to be transfered with ftp to a backup storage server.
[snip]
--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
More information about the Tutor
mailing list