class FenetreCombat(): def __init__(self, nom, texte_de_presentation): """initialise une interface pour un combat""" self.texte_de_presentation = texte_de_presentation self.instructions() def instructions(self): print(texte_de_presentation) def affiche_fichier(path): with open(path, 'r') as file: for line in file: print(line)