Shaare your links...
3225 links
L!NKS
Retour au blog
Login
RSS Feed
ATOM Feed
Tag cloud
Picture wall
Daily
Links per page:
20
50
100
page 1 / 1
Ecrire en unicode dans un fichier txt
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
tab = [u'é',u'à']
f = codecs.open('sortie.txt', encoding='utf-8', mode='w')
for c in tab:
f.write(c)
f.close()
permalink
-
-
?G_lSxw
python
unicode
Links per page:
20
50
100
page 1 / 1