Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
ENG-CANSAT-PICO-LOG
(voir la source)
Version du 7 mars 2022 à 00:13
217 octets ajoutés
,
7 mars 2022 à 00:13
→Writing data to text file
Ligne 23 :
Ligne 23 :
_file.write( "Hey, it is MicroPython\r\n" )
_file.write( "Hey, it is MicroPython\r\n" )
</syntaxhighlight>
</syntaxhighlight>
+
+
The ''''a'''' parameter in the {{fname|open()}} call stand for "append". So executing several time the code will append the same text again and again to the file.
+
+
Of the file doesn't exists yet, it will be created.
{{ENG-CANSAT-PICO-TRAILER}}
{{ENG-CANSAT-PICO-TRAILER}}
Admin
Bureaucrates
,
Administrateurs
29 917
modifications
Menu de navigation
Outils personnels
Se connecter
Espaces de noms
Page
Discussion
Variantes
Affichages
Lire
Voir le texte source
Voir l’historique
Plus
Rechercher
Navigation
ARDUINO
RASPBERRY-PI
[:: PI Hacking ::]
Particle.IO
Micro Python
Imprimante 3D
Actualités
Modifications récentes
Page au hasard
Aide
Outils
Pages spéciales
Version imprimable