import html
#encodedText = html.escape('<html></html>')
#decodedText = html.unescape(encodedText)
#nom du fichier .py
name = "graphe"
f = open(name + ".py","r")
texte = f.read()
f.close()
texte = html.escape(texte)
texte = texte.replace(" "," ")
texte = texte.replace("\n","<br>\n")
f = open(name + ".html","w")
f.write(texte)
f.close()
Nous avons 397 invités et aucun membre en ligne
- Chap 2 : Le regime triphasé
- Ajouter la librairie Arduino à Proteus 8
- Chap 6 : Champ magnétique tournant
- Chap 1 : Le regime monophasé
- Gestion des projets en sti2d
Cahiers de texte
Calendrier prévisionnel des projets
STI2D SIN en 2021
Consignes pour les projets STI2D SIN
Suivi des projets : Phpprojekt
Mon handicap ne se voit pas
Encoder un fichier python au html
- Détails
- Écrit par Richard GAUTHIER
- Affichages : 92