Re: [Linux-programlama] Python, dosya icinde kelime bulma...

---------

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

From: Bugra Cakir (bugracakir@gmail.com)
Date: Fri 21 Jul 2006 - 10:54:46 GMT


f = open("dosyaismi")

aranan = "araniyorum"
for satir in f:
   if aranan in satir:
      print "bulundum"

_______________________________________________
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.