[email protected] writes: > metrites.py tries to open that script so we must tell it to open as > utf-8 text and not as a binary file.
One way is the following:
from codecs import open
with open('index.html', encoding='utf-8') as f:
content = f.read()
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected] | -- Fortunato Depero, 1929.
--
http://mail.python.org/mailman/listinfo/python-list
