Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add decompress option #49

Merged
merged 5 commits into from
May 8, 2023
Merged

Add decompress option #49

merged 5 commits into from
May 8, 2023

Conversation

altescy
Copy link
Owner

@altescy altescy commented May 8, 2023

with minato.open("path/to/file.gz", "rt", decompress=True) as f:
    assert f.read() == "this is gzip file"

@altescy altescy merged commit 67b138f into main May 8, 2023
@altescy altescy deleted the open-compressed branch May 8, 2023 10:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant