Comment écrire dans un fichier dans Python sans supprimer tout le contenu
file = open("FILE_NAME.txt", "w+") # opens the file in both read and write mode
Fair Finch
file = open("FILE_NAME.txt", "w+") # opens the file in both read and write mode