Bonjour,
J'essaye de découvrir Python.
Dand IDLE python ceci fonctionne normalement
Lorsque je passe par un fichierCode:
1
2 >>>print("paté") paté
ouCode:
1
2
3
4 # -*- coding:Latin-1 -*- import os print("paté") os.system("pause")
Le caractère é n'est pas correctement affiché.Code:
1
2
3
4 # -*- coding:Utf-8 -*- import os print("paté") os.system("pause")
Que faire ?
Merci pour votre aide
Nota : Python 3.4.0 sous win7 64 bits