Extrait de python 7zip
from pyunpack import Archive
Archive('data.7z').extractall("<output path>")
Lucky Lemur
from pyunpack import Archive
Archive('data.7z').extractall("<output path>")