On Thu, 30 Oct 2008 10:28:39 +0300, Seid Mohammed wrote:
Because lists represent their content in the `repr()` form. So you, the
programmer, can see what's really in there.
Ciao,
Marc 'BlackJack' Rintsch
I am new to python.
I want to print Amharic character using the Python IDLE. here goes
somple code
=============== =============== =============== =============== ==
'\xe1\x8a\xa0\x e1\x89\xa0\xe1\ x89\xa0 \xe1\x89\xa0\xe 1\x88\xb6
\xe1\x89\xa0\xe 1\x88\x8b'
አበበበሶ በላ
['\xe1\x8a\xa0\x e1\x89\xa0\xe1\ x89\xa0', '\xe1\x89\xa0\x e1\x88\xb6',
'\xe1\x89\xa0\x e1\x88\x8b']
['\xe1\x8a\xa0\x e1\x89\xa0\xe1\ x89\xa0', '\xe1\x89\xa0\x e1\x88\xb6',
'\xe1\x89\xa0\x e1\x88\x8b']
23
=============== =========
so my question is
1)why >>abebe prints '\xe1\x8a\xa0\x e1\x89\xa0\xe1\ x89\xa0
\xe1\x89\xa0\xe 1\x88\xb6 \xe1\x89\xa0\xe 1\x88\x8b' instead of አበበበሶ በላ
2) why >>print abeba don't print the expected አበበበሶ በላ string thanks
a lot.
I want to print Amharic character using the Python IDLE. here goes
somple code
=============== =============== =============== =============== ==
>>>abebe = 'አበበበሶ በላ'
>>>abebe
>>>abebe
\xe1\x89\xa0\xe 1\x88\x8b'
>>>print abebe
>>>abeba = ['አበበ','በሶ','በላ'] abeba
'\xe1\x89\xa0\x e1\x88\x8b']
>>>print abeba
'\xe1\x89\xa0\x e1\x88\x8b']
>>>len(abebe)
=============== =========
so my question is
1)why >>abebe prints '\xe1\x8a\xa0\x e1\x89\xa0\xe1\ x89\xa0
\xe1\x89\xa0\xe 1\x88\xb6 \xe1\x89\xa0\xe 1\x88\x8b' instead of አበበበሶ በላ
2) why >>print abeba don't print the expected አበበበሶ በላ string thanks
a lot.
programmer, can see what's really in there.
Ciao,
Marc 'BlackJack' Rintsch