Skip to content

Add file objects rather than paths? #14

Description

@pkkid

Is there a way to add file-like objects rather than file paths? Something like:

handle = open('foobar', 'r')
z = zipstream.ZipFile(mode='w', compression=ZIP_DEFLATED)
z.write(handle)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions