Skip to content

Instantly share code, notes, and snippets.

Will McGugan willmcgugan

Block or report user

Report or block willmcgugan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
BastiTee /
Last active Jul 11, 2017
A ZIP-file pretending to be a filesystem folder
#!/usr/bin/env python3
"""A ZIP-file pretending to be a filesystem folder.
A code example of how to work with a ZIP-file transparently acting as a
filesystem folder. This code uses the pyfilesystem2 library by
Will McGugan. See:
from fs import zipfs, copy, osfs
from os import remove, path
You can’t perform that action at this time.