Files
cpython/Doc/lib
Just van Rossum b083cb3901 Patch #651621, approved by MvL.
This patch allows ZipFile.writestr() to be called with
an archive file name instead of a ZipInfo instance:

z = ZipFile("myarchive.zip", "w")
z.writestr("foo/baz/file.ext", data)
z.close()

I found the old writestr() method very inconvenient
for simple (but common) things.

If called with a file name instead of a ZipInfo
instance, the date_time is set to the current date/time,
which makes sense to me for anonymous data.
2002-12-12 12:23:32 +00:00
..
2002-10-01 15:29:09 +00:00
2002-10-01 15:29:09 +00:00
2002-10-01 15:29:09 +00:00
2002-11-14 03:58:20 +00:00
2002-06-26 05:07:28 +00:00
2002-11-25 18:51:43 +00:00
2002-08-23 21:19:53 +00:00
2002-09-04 15:12:07 +00:00
2002-10-30 21:08:34 +00:00
2002-12-06 18:52:28 +00:00
2002-07-10 19:21:07 +00:00
2002-11-22 14:28:53 +00:00
2002-03-24 16:55:57 +00:00
2002-11-25 16:01:08 +00:00
2002-12-06 16:45:05 +00:00
2002-11-05 22:41:16 +00:00
2002-12-06 16:45:05 +00:00
2002-05-01 03:23:03 +00:00
2002-11-18 09:01:24 +00:00
2002-05-27 15:08:24 +00:00
2002-02-19 02:58:54 +00:00
2002-08-15 14:59:02 +00:00
2002-10-10 18:24:54 +00:00
2002-10-17 19:23:43 +00:00
2002-11-18 04:34:10 +00:00
2002-10-10 18:24:54 +00:00
2002-06-25 15:26:59 +00:00
2001-11-06 22:10:47 +00:00
2002-10-22 18:26:28 +00:00
2002-12-12 12:23:32 +00:00
2002-10-10 15:58:19 +00:00
2002-11-13 15:56:13 +00:00