Unicode Problem
I am new to python. I want to print Amharic character using the Python IDLE. here goes somple code == >>> abebe = 'አበበ በሶ በላ' >>> abebe '\xe1\x8a\xa0\xe1\x89\xa0\xe1\x89\xa0 \xe1\x89\xa0\xe1\x88\xb6 \xe1\x89\xa0\xe1\x88\x8b' >>> print abebe አበበ በሶ በላ >>> abeba = ['አበበ','በሶ','በላ'] >>> abeba ['\xe1\x8a\xa0\xe1\x89\xa0\xe1\x89\xa0', '\xe1\x89\xa0\xe1\x88\xb6', '\xe1\x89\xa0\xe1\x88\x8b'] >>> print abeba ['\xe1\x8a\xa0\xe1\x89\xa0\xe1\x89\xa0', '\xe1\x89\xa0\xe1\x88\xb6', '\xe1\x89\xa0\xe1\x88\x8b'] >>> len(abebe) 23 so my question is 1)why >>> abebe prints '\xe1\x8a\xa0\xe1\x89\xa0\xe1\x89\xa0 \xe1\x89\xa0\xe1\x88\xb6 \xe1\x89\xa0\xe1\x88\x8b' instead of አበበ በሶ በላ 2) why >>> print abeba don't print the expected አበበ በሶ በላ string thanks a lot. Seid M. -- http://mail.python.org/mailman/listinfo/python-list
Re: Python-list Digest, Vol 61, Issue 443
ok but still i am not clear with my problem. if i test this one == kk ='how old are you' >>> len(kk) 15 == but in my case == >>> abebe = 'አበበ በሶ በላ' >>> len(abebe) 23 == why the lenght is 23 while I am expecting to be 9 only. becuase I have 9 characters(including space) just typed. there must be a kind of trick over it. thanks all Seid M On 10/30/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Send Python-list mailing list submissions to > python-list@python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/python-list > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Python-list digest..." > -- "RABI ZIDNI ILMA" -- http://mail.python.org/mailman/listinfo/python-list
how to run python file from the python IDLE editor
Greetins all 1. I can easily run python file from a comand prompt just typing "python filname.py". How can I do this from the python IDLE shell 2. How to create EXE in python. thanks all for making me to be more copnfortable with python Seid M -- "RABI ZIDNI ILMA" -- http://mail.python.org/mailman/listinfo/python-list
how to run afile with an argument from python IDLE editor
hi all, I have a problem. when i run a file "python xxx.py " from a comand line, it just work. But the DOS command line do not support unicode and I want to run it just from the IDLE editor. i can run by pressing F5, but without an argument anybody can hint me how to run with an argument just in the Python IDLE editor Thanks a lot Seid M. -- "RABI ZIDNI ILMA" -- http://mail.python.org/mailman/listinfo/python-list
how to run python file from the python IDLE editor
hi all, I have a problem. when i run a file "python xxx.py " from a comand line, it just work. But the DOS command line do not support unicode and I want to run it just from the IDLE editor. i can run by pressing F5, but without an argument anybody can hint me how to run with an argument just in the Python IDLE editor Thanks a lot Seid M. -- "RABI ZIDNI ILMA" -- http://mail.python.org/mailman/listinfo/python-list