how to run python file from the python IDLE editor

2008-11-20 Thread Seid Mohammed
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 i

how to run afile with an argument from python IDLE editor

2008-11-20 Thread Seid Mohammed
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 i

how to run python file from the python IDLE editor

2008-10-30 Thread Seid Mohammed
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/mailma

Re: Python-list Digest, Vol 61, Issue 443

2008-10-30 Thread Seid Mohammed
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(includi

Unicode Problem

2008-10-30 Thread Seid Mohammed
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 abeb