(fname, directory, mode='r:gz')
Extracts the tarfile using the specified mode in the given directory.
Extracts the tarfile using the specified mode in the given directory.
Extracts the tarfile using the specified mode in the given directory .
def untar(fname, directory, mode='r:gz'):
        """Extracts the tarfile using the specified mode in the given directory."""
        tfile = tarfile.open(fname, mode)
        tfile.extractall(directory)
def untar ( fname , directory , mode = 'r:gz' ) : tfile = tarfile . open ( fname , mode ) tfile . extractall ( directory )