[Linux-programlama] Python Türkçe Problemi

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Alper KANAT (tunix@raptiye.org)
Date: Sat 06 Aug 2005 - 17:48:42 EEST


Merhaba,

Python'da hala Türkçe problemi yaşamaya devam ediyorum.

tunix@tunix:~$ locale
LANG=tr_TR
LC_CTYPE="tr_TR"
LC_NUMERIC="tr_TR"
LC_TIME="tr_TR"
LC_COLLATE="tr_TR"
LC_MONETARY="tr_TR"
LC_MESSAGES="tr_TR"
LC_PAPER="tr_TR"
LC_NAME="tr_TR"
LC_ADDRESS="tr_TR"
LC_TELEPHONE="tr_TR"
LC_MEASUREMENT="tr_TR"
LC_IDENTIFICATION="tr_TR"
LC_ALL=

---

girilenSayi=int(raw_input('Bir sayi giriniz: '))

if girilenSayi < 5: print "Küçük"

if girilenSayi == 5: print "Eşit"

if girilenSayi > 5: print "Büyük"

---

Bu programı çalıştırdığımda şöyle bir hata alıyorum:

tunix@tunix:~$ ./deneme.py sys:1: DeprecationWarning: Non-ASCII character '\xfc' in file ./deneme.py on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details Bir sayi giriniz: 5 Eşit

Bu hatayı nasıl düzeltebilirim acaba ? Teşekkürler..

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.