hello everyone still my question about if i could read and process a non english language text file using python
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.___
Tutor maillist - Tutor@python.org
enas khalil wrote:
hello everyone
still my question about if i could read and process a non english
language text file using python
To read the file use
import codecs
data = codecs.open('myfile.txt', 'r', 'cp1256').read()
This will give you a Unicode string in data. I don't know how to use
enas khalil wrote:
hello everyone
still my question about if i could read and process a non english language
text file using python
Hi Enas,
I think you mean Arabic language, yes of course you can, and I think you
should see the Duali project: