On 3/7/20 1:08 AM, mus...@posteo.org wrote:
> On Fri, 6 Mar 2020 20:06:40 -0700
> Michael Torrie wrote:
>
>> The documentation talks about writing files from
>> disk, but I'm interested in creating these files from within Python
>> directly in the zip archive.
>
> But you have seen writestr(), hav
On Fri, 6 Mar 2020 20:06:40 -0700
Michael Torrie wrote:
> The documentation talks about writing files from
> disk, but I'm interested in creating these files from within Python
> directly in the zip archive.
But you have seen writestr(), haven't you?
ZipFile.writestr(zinfo_or_arcname, data, com
I am trying to do something very simple but having no success in finding out
how to do it. I just want to use the Python zipfile module to create a zip file
with a specific directory structure and create and write to files inside those
subdirectories (not files already on disk). The documentati
On 3/7/20 1:08 AM, mus...@posteo.org wrote:
> On Fri, 6 Mar 2020 20:06:40 -0700
> Michael Torrie wrote:
>
>> The documentation talks about writing files from
>> disk, but I'm interested in creating these files from within Python
>> directly in the zip archive.
>
> But you have seen writestr(), h
On Fri, 6 Mar 2020 20:06:40 -0700
Michael Torrie wrote:
> The documentation talks about writing files from
> disk, but I'm interested in creating these files from within Python
> directly in the zip archive.
But you have seen writestr(), haven't you?
ZipFile.writestr(zinfo_or_arcname, data, com
I am trying to do something very simple but having no success in finding
out how to do it. I just want to use the Python zipfile module to create
a zip file with a specific directory structure and create and write to
files inside those subdirectories (not files already on disk). The
documentation