CGI ZIP

Rene Pijlman reply.in at the.newsgroup
Sat Mar 8 11:00:34 EST 2003


Simon Faulkner:
>Can the zipfile module only write to a file system?

It can write to any file-like object.

"class ZipFile(file[, mode[, compression]])
    Open a ZIP file, where file can be either a path to a file
(a string) or a file-like object."
http://www.python.org/doc/current/lib/zipfile-objects.html

-- 
René Pijlman




More information about the Python-list mailing list