[Tutor] Arabic text in Python

Kent Johnson kent37 at tds.net
Sun Jan 21 19:41:26 CET 2007

Emad Nawfal wrote:
> Dear Folks,
> I'm new to Python and programming in general. I'm interested in using 
> Python for text processing, but whenever I enter Arabic text, it says 
> the text is not supported.
> How can I use Python for dealing with Arabic?

What platform? GUI or command line input?

wxPython seems to support Arabic, according to this page:

For command-line use, my guess is that if you have a console that 
supports Arabic input then you should be able to write a Python app that 
supports Arabic input in that console. The input will be encoded 
according to the console character encoding.


More information about the Tutor mailing list