Salut,
Voila mon problème:
dansCode:UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 95: ordinal not in range(128)
En fait je crois comprendre le message d'erreur, mais je ne vois pas pourquoi il apparait là. Si vous voyez comment remédier au problème ca serait cool :aie:Code:
1
2
3
4 def sortir(text): outfile = open('sortie.txt','w') outfile.write(str(text)) outfile.close()