Re: Date & time in a Zip File

2005-07-13 Thread Scott David Daniels
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

Re: Date & time in a Zip File

2005-07-13 Thread Larry Bates
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

Date & time in a Zip File

2005-07-13 Thread Tim Williams (gmail)
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 ins