differance_ouverture_fichierTXT.py 159 B

12345678
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. texte = open("diff.txt", "r", encoding="ISO-8859-1")
  4. sentence = texte.read()
  5. texte.close()
  6. print(sentence)