tarfile.TarFile.bz2open

classmethod TarFile.bz2open(name, mode='r', fileobj=None, compresslevel=9, **kwargs)[source]

Open bzip2 compressed tar archive name for reading or writing. Appending is not allowed.