Answers for "python ecrire un fichier"

1

lecture de fichier python

# coding: utf-8

fichier = open("data.txt", "r")
print fichier.read()
fichier.close()
Posted by: Guest on April-02-2020
0

python vrer un fichier texte

with open("test.txt", "w") as f: # gère close() automatiquement
    # traitement
Posted by: Guest on April-14-2020

Code answers related to "python ecrire un fichier"

Python Answers by Framework

Browse Popular Code Answers by Language