Drop links or images here to add them to the editor.

In dit hoofdstuk leer je hoe je met tekstbestanden werkt in Python.

Je leert:

Bestandsmodi:

Modus Betekenis
"r" Lezen (bestand moet bestaan)
"w" Schrijven (overschrijft bestaand bestand)
"a" Toevoegen (append, behoudt bestaande inhoud)