[Tutor] Zip Command

Walter Prins wprins at gmail.com
Thu Oct 14 10:29:30 CEST 2010

On 14 October 2010 07:12, <delegbede at dudupay.com> wrote:

> Does window os have a zip command for python like linux and unix.
> If yes, please what is it.
> If no, please what does it use to create a zip folder.
> I am working on an example in byte of python but the zip command is from
> linux but I use windows.
> Thank you.

Windows does not have a command line wrapper for it's zipped folders
functionality (which as you probably know should more properly be called zip
files as that's what they are, notwithstanding the fact that Windows
Explorer makes them look like folders in the UI.)  Several third party
command line versions exist however, including proprietary ones like Winzip
and open source ones. (Google yielded for example this:
http://www.pcreview.co.uk/forums/thread-103518.php )

However, you should perhaps have a look at Python's "zipfile" module which
should be able to create zip files as well.  See e.g.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20101014/189e8d97/attachment.html>

More information about the Tutor mailing list