Dans ce tutoriel, nous allons découvrir les modes d'ouvertures d'un fichier en Python -version Windows - Python 3 Windows 7, Python 3 Windows 8 et Python 3 Windows 10.
- ouverture en mode lecture r - ouverture en mode lecture et écriture r+, ouverture en mode écriture write w avec écrasement de contenu, ouverture en mode append a ajout de contenu, en fin de fichier, ouverture en mode binaire b.
Remarque : pour un bon visionage de la vidéo, utiliser google chrome.
In this tutorial, we will discover how to open a file in Python - Windows version - Python 3 Windows 7, Python 3 Windows 8 and Python 3 Windows 10.
- open in read mode r - open in read and write mode r +, open in write mode write w with content overwrite, open in append mode when adding content, at the end of the file, open in binary mode b.
Note: for a good viewing of the video, use google chrome.