Extracts an archive somewhere on the filesystem.

def extract_archive(archive_path, destination_path):
    """Extracts an archive somewhere on the filesystem."""
    tar = tarfile.open(archive_path)
    tar.errorlevel = 1
    tar.extractall(destination_path)