Date & time in a Zip File
Larry Bates
lbates at syscononline.com
Wed Jul 13 19:35:23 EDT 2005
When I add files to my .ZIP files using python zipfile module
the date/time that is stored in mine is the one that comes from
the file's attributes. I'm not sure I understand why you think
yours are not.
-Larry Bates
Tim Williams (gmail) wrote:
> Using zipfile.Zipfile
>
> How can I add a file to a zip file and keep its date and time correct?
> Currently the date/time change to the time the file was added to the
> zip. Zipinfo doesn't have a write method!
>
> Solutions other than zipfile are welcome, with snippets if possible :)
>
> ginmf in this instance.
More information about the Python-list
mailing list