Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jbillo on github.
  • I am jbillo (https://keybase.io/jbillo) on keybase.
  • I have a public key whose fingerprint is 4BF0 3E02 6784 C08D 3E5D 2179 CFFE 05BB 9AA6 7C37

To claim this, I am signing this object:

import py7zlib, os
class SevenZFile(object):
@classmethod
def is_7zfile(cls, filepath):
'''
Class method: determine if file path points to a valid 7z archive.
'''
is7z = False
fp = None