• PYTHON > tout savoir sur le terminal

      NOMBRE DE LIGNES ET COLONNES DANS UN TERMINAL

      import os
      rows, columns = os.popen('stty size', 'r').read().split()

 

Aucun commentaire

 

Laissez un commentaire