Skip to content

Way to open password protected zip file #360

Open
@tzing

Description

@tzing

As python built-in zipfile provides setpassowrd for opening the password protected zip file,
is it proper to add a interface to set password on ReadZipFS and even ZipFS?

I known there is a workaround is to access the private member

zipf._zip.setpassword( ... )

but i still want a more convenience way

Yet another problem is-- setpassword is only valid for extract file but not for compression.
Just wonder if it would be the concern on creating this sort of interface.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions