{"id":42587,"date":"2026-06-16T14:00:30","date_gmt":"2026-06-16T11:00:30","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/"},"modified":"2026-06-16T14:00:53","modified_gmt":"2026-06-16T11:00:53","slug":"pythonda-listede-string-bulma-kapsamli-bir-rehber","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/","title":{"rendered":"Python&#8217;da Listede String Bulma: Kapsaml\u0131 Bir Rehber"},"content":{"rendered":"<h2>Python&#8217;da Listede String Bulma: Kapsaml\u0131 Bir Rehber<\/h2>\n<p>Python&#8217;da bir listede belirli bir string&#8217;i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel ve s\u0131k kar\u015f\u0131la\u015f\u0131lan g\u00f6revlerinden biridir. \u0130ster bir veri setini analiz ediyor olun, ister kullan\u0131c\u0131 girdilerini do\u011fruluyor olun, bu beceri vazge\u00e7ilmezdir. Peki, bu arama i\u015flemini en verimli ve do\u011fru \u015fekilde nas\u0131l ger\u00e7ekle\u015ftirebiliriz? Bu makalede, Python&#8217;da bir listede string bulman\u0131n \u00e7e\u015fitli y\u00f6ntemlerini, ad\u0131m ad\u0131m \u00f6rneklerle ve ger\u00e7ek d\u00fcnya senaryolar\u0131yla birlikte derinlemesine inceleyece\u011fiz. Amac\u0131m\u0131z, hem yeni ba\u015flayanlar\u0131n temel prensipleri kavramas\u0131na hem de deneyimli geli\u015ftiricilerin daha geli\u015fmi\u015f teknikleri \u00f6\u011frenmesine yard\u0131mc\u0131 olmakt\u0131r.<\/p>\n<h3>Temel Kavramlar: Listeler ve Stringler Python&#8217;da<\/h3>\n<p>Python&#8217;da listeler, farkl\u0131 veri tiplerini s\u0131ral\u0131 bir \u015fekilde saklayabilen, de\u011fi\u015ftirilebilir (mutable) veri yap\u0131lar\u0131d\u0131r. Stringler ise karakter dizileridir ve metin verilerini temsil ederler. Bir listede string aramak, asl\u0131nda o listedeki her bir \u00f6\u011fenin, arad\u0131\u011f\u0131m\u0131z string ile e\u015fle\u015fip e\u015fle\u015fmedi\u011fini kontrol etmek anlam\u0131na gelir. Bu kontrol, basit bir e\u015fitlik kontrol\u00fcnden, daha karma\u015f\u0131k desen e\u015fle\u015ftirmelerine kadar farkl\u0131 \u015fekillerde yap\u0131labilir. Python&#8217;\u0131n sundu\u011fu esneklik, bu t\u00fcr i\u015flemleri olduk\u00e7a kolayla\u015ft\u0131r\u0131r. Liste, Python&#8217;daki en yayg\u0131n kullan\u0131lan veri yap\u0131lar\u0131ndan biridir ve i\u00e7inde her t\u00fcrl\u00fc veri t\u00fcr\u00fcn\u00fc bar\u0131nd\u0131rabilir. Stringler ise metinsel bilgiyi ifade etmek i\u00e7in kullan\u0131l\u0131r. Bu iki temel kavram\u0131 iyi anlamak, listede string arama i\u015flemlerinin mant\u0131\u011f\u0131n\u0131 kavramak i\u00e7in ilk ad\u0131md\u0131r.<\/p>\n<h3>En Basit Y\u00f6ntem: <code class=\"language-\">in<\/code> Operat\u00f6r\u00fc ile Kontrol<\/h3>\n<p>Python&#8217;da bir listede belirli bir string&#8217;in olup olmad\u0131\u011f\u0131n\u0131 kontrol etmenin en kolay ve en okunabilir yolu <code class=\"language-\">in<\/code> operat\u00f6r\u00fcn\u00fc kullanmakt\u0131r. Bu operat\u00f6r, bir \u00f6\u011fenin bir koleksiyonda (liste, demet, k\u00fcme, s\u00f6zl\u00fck anahtarlar\u0131 vb.) bulunup bulunmad\u0131\u011f\u0131n\u0131 kontrol eder ve bir boolean (True veya False) de\u011fer d\u00f6nd\u00fcr\u00fcr. E\u011fer aranan string listede mevcutsa <code class=\"language-\">True<\/code>, de\u011filse <code class=\"language-\">False<\/code> sonucunu verir. Bu y\u00f6ntem, sadece var olup olmad\u0131\u011f\u0131n\u0131 bilmek istedi\u011finiz durumlar i\u00e7in idealdir. \u00c7ok b\u00fcy\u00fck listelerde bile <code class=\"language-\">in<\/code> operat\u00f6r\u00fc olduk\u00e7a performansl\u0131d\u0131r \u00e7\u00fcnk\u00fc Python arka planda optimize edilmi\u015f aramalar yapar.<\/p>\n<p>\u00d6rne\u011fin, bir \u00f6\u011frenci listesinde belirli bir \u00f6\u011frencinin ad\u0131n\u0131n olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek isteyebilirsiniz.<\/p>\n<pre class=\"language-python\"><code>ogrenciler = [&quot;Ali&quot;, &quot;Ay\u015fe&quot;, &quot;Mehmet&quot;, &quot;Zeynep&quot;, &quot;Can&quot;]\naranan_ogrenci = &quot;Ay\u015fe&quot;\n\nif aranan_ogrenci in ogrenciler:\n    print(f&quot;{aranan_ogrenci} listede bulundu!&quot;)\nelse:\n    print(f&quot;{aranan_ogrenci} listede bulunamad\u0131.&quot;)\n\naranan_ogrenci_yok = &quot;Deniz&quot;\nif aranan_ogrenci_yok in ogrenciler:\n    print(f&quot;{aranan_ogrenci_yok} listede bulundu!&quot;)\nelse:\n    print(f&quot;{aranan_ogrenci_yok} listede bulunamad\u0131.&quot;)<\/code><\/pre>\n<p>Bu basit kod par\u00e7ac\u0131\u011f\u0131, <code class=\"language-\">in<\/code> operat\u00f6r\u00fcn\u00fcn nas\u0131l kullan\u0131ld\u0131\u011f\u0131n\u0131 net bir \u015fekilde g\u00f6stermektedir. \u0130lk kontrol &#8220;Ay\u015fe&#8221; i\u00e7in <code class=\"language-\">True<\/code> d\u00f6nd\u00fcrecektir, ikinci kontrol ise &#8220;Deniz&#8221; i\u00e7in <code class=\"language-\">False<\/code> d\u00f6nd\u00fcrecektir. Bu, karma\u015f\u0131k d\u00f6ng\u00fcler kurmaya gerek kalmadan h\u0131zl\u0131 bir sonu\u00e7 alman\u0131z\u0131 sa\u011flar. Bu y\u00f6ntemin okunabilirli\u011fi y\u00fcksektir ve Pythonic bir yakla\u015f\u0131md\u0131r.<\/p>\n<h3>Belirli Bir String&#8217;i \u0130\u00e7eren T\u00fcm \u00d6\u011feleri Bulma: D\u00f6ng\u00fcler ve Ko\u015fullu \u0130fadeler<\/h3>\n<p>Bazen sadece bir string&#8217;in listede olup olmad\u0131\u011f\u0131n\u0131 bilmek yetmez; o string&#8217;i i\u00e7eren t\u00fcm \u00f6\u011feleri bulmam\u0131z gerekebilir. Bu durumda, bir <code class=\"language-\">for<\/code> d\u00f6ng\u00fcs\u00fc ve bir <code class=\"language-\">if<\/code> ko\u015fullu ifadesi kullanarak listedeki her bir \u00f6\u011feyi tek tek kontrol edebiliriz. E\u011fer bir \u00f6\u011fe, arad\u0131\u011f\u0131m\u0131z string&#8217;i i\u00e7eriyorsa (\u00f6rne\u011fin, bir alt string olarak) veya tam olarak e\u015fle\u015fiyorsa, bu \u00f6\u011feyi ayr\u0131 bir listeye ekleyebiliriz. Bu y\u00f6ntem, daha esnek arama kriterleri tan\u0131mlamam\u0131za olanak tan\u0131r.<\/p>\n<p>Alt string kontrol\u00fc i\u00e7in <code class=\"language-\">in<\/code> operat\u00f6r\u00fcn\u00fc yine kullanabiliriz, ancak bu sefer listenin \u00f6\u011feleri \u00fczerinde kullan\u0131r\u0131z.<\/p>\n<pre class=\"language-python\"><code>urunler = [&quot;elma suyu&quot;, &quot;portakal suyu&quot;, &quot;muzlu s\u00fct&quot;, &quot;elma re\u00e7eli&quot;, &quot;s\u00fctla\u00e7&quot;]\naranan_kelime = &quot;suyu&quot;\nbulunan_urunler = []\n\nfor urun in urunler:\n    if aranan_kelime in urun:\n        bulunan_urunler.append(urun)\n\nprint(f&quot;'{aranan_kelime}' kelimesini i\u00e7eren \u00fcr\u00fcnler: {bulunan_urunler}&quot;)<\/code><\/pre>\n<p>Bu \u00f6rnekte, &#8220;suyu&#8221; kelimesini i\u00e7eren t\u00fcm \u00fcr\u00fcnleri bulduk. Sonu\u00e7 olarak <code class=\"language-\">['elma suyu', 'portakal suyu']<\/code> listesi elde edilir. Bu yakla\u015f\u0131m, \u00f6zellikle metin verileriyle \u00e7al\u0131\u015f\u0131rken, \u00f6rne\u011fin bir log dosyas\u0131ndaki belirli hata mesajlar\u0131n\u0131 ararken veya bir metin belgesindeki belirli anahtar kelimeleri bulmaya \u00e7al\u0131\u015f\u0131rken \u00e7ok kullan\u0131\u015fl\u0131d\u0131r. D\u00f6ng\u00fc yap\u0131s\u0131 sayesinde, her bir \u00f6\u011fe \u00fczerinde istedi\u011finiz kadar karma\u015f\u0131k kontrol\u00fc ger\u00e7ekle\u015ftirebilirsiniz.<\/p>\n<h3>Liste Anlamalar\u0131 (List Comprehensions) ile Daha K\u0131sa ve \u00d6z Kodlar<\/h3>\n<p>Python&#8217;\u0131n en g\u00fc\u00e7l\u00fc \u00f6zelliklerinden biri olan liste anlamalar\u0131, d\u00f6ng\u00fcler ve ko\u015fullu ifadelerle yap\u0131lan i\u015flemleri tek bir sat\u0131rda, daha okunabilir ve daha verimli bir \u015fekilde ger\u00e7ekle\u015ftirmeyi sa\u011flar. Listedeki string&#8217;leri filtrelemek veya d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in liste anlamalar\u0131 harika bir se\u00e7enektir. Bu, hem kodun k\u0131salmas\u0131n\u0131 sa\u011flar hem de genellikle standart d\u00f6ng\u00fclere g\u00f6re daha performansl\u0131d\u0131r.<\/p>\n<p>Yukar\u0131daki &#8220;urunler&#8221; \u00f6rne\u011fini liste anlamalar\u0131 ile yeniden yazarsak:<\/p>\n<pre class=\"language-python\"><code>urunler = [&quot;elma suyu&quot;, &quot;portakal suyu&quot;, &quot;muzlu s\u00fct&quot;, &quot;elma re\u00e7eli&quot;, &quot;s\u00fctla\u00e7&quot;]\naranan_kelime = &quot;suyu&quot;\n\nbulunan_urunler_lc = [urun for urun in urunler if aranan_kelime in urun]\n\nprint(f&quot;Liste anlamalar\u0131 ile '{aranan_kelime}' kelimesini i\u00e7eren \u00fcr\u00fcnler: {bulunan_urunler_lc}&quot;)<\/code><\/pre>\n<p>Bu tek sat\u0131rl\u0131k kod, \u00f6nceki <code class=\"language-\">for<\/code> d\u00f6ng\u00fcs\u00fc ve <code class=\"language-\">if<\/code> ifadesiyle ayn\u0131 i\u015flevi yerine getirir. Liste anlamalar\u0131, <code class=\"language-\">[ifade for eleman in liste if ko\u015ful]<\/code> \u015feklinde bir yap\u0131ya sahiptir. Bu yap\u0131, kodun daha &#8220;Pythonic&#8221; olmas\u0131n\u0131 sa\u011flarken, ayn\u0131 zamanda geli\u015ftiricilerin daha h\u0131zl\u0131 ve etkili kod yazmas\u0131na yard\u0131mc\u0131 olur. Liste anlamalar\u0131, sadece filtreleme i\u00e7in de\u011fil, ayn\u0131 zamanda listedeki \u00f6\u011feleri d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in de kullan\u0131labilir. \u00d6rne\u011fin, bulunan t\u00fcm \u00fcr\u00fcnlerin ba\u015f harflerini b\u00fcy\u00fctmek gibi.<\/p>\n<h3><code class=\"language-\">filter()<\/code> Fonksiyonu ile Fonksiyonel Yakla\u015f\u0131m<\/h3>\n<p>Python&#8217;da fonksiyonel programlama paradigmalar\u0131n\u0131 destekleyen <code class=\"language-\">filter()<\/code> fonksiyonu da listedeki string&#8217;leri belirli bir kritere g\u00f6re filtrelemek i\u00e7in kullan\u0131labilir. <code class=\"language-\">filter()<\/code> fonksiyonu, bir fonksiyon ve bir iterable (liste gibi) al\u0131r. Fonksiyon, iterable&#8217;daki her bir \u00f6\u011fe i\u00e7in \u00e7al\u0131\u015ft\u0131r\u0131l\u0131r ve e\u011fer fonksiyon <code class=\"language-\">True<\/code> d\u00f6nd\u00fcr\u00fcrse, o \u00f6\u011fe filtrelenmi\u015f sonu\u00e7 k\u00fcmesine dahil edilir.<\/p>\n<p>Bu y\u00f6ntemi kullanmak i\u00e7in genellikle bir lambda fonksiyonu veya \u00f6nceden tan\u0131mlanm\u0131\u015f bir fonksiyon kullan\u0131l\u0131r.<\/p>\n<pre class=\"language-python\"><code>urunler = [&quot;elma suyu&quot;, &quot;portakal suyu&quot;, &quot;muzlu s\u00fct&quot;, &quot;elma re\u00e7eli&quot;, &quot;s\u00fctla\u00e7&quot;]\naranan_kelime = &quot;suyu&quot;\n\n# Lambda fonksiyonu ile filter kullan\u0131m\u0131\nbulunan_urunler_filter = list(filter(lambda urun: aranan_kelime in urun, urunler))\n\nprint(f&quot;filter() ile '{aranan_kelime}' kelimesini i\u00e7eren \u00fcr\u00fcnler: {bulunan_urunler_filter}&quot;)<\/code><\/pre>\n<p><code class=\"language-\">filter()<\/code> fonksiyonu, bir iterator d\u00f6nd\u00fcr\u00fcr, bu nedenle sonu\u00e7lar\u0131 bir liste olarak elde etmek i\u00e7in <code class=\"language-\">list()<\/code> fonksiyonuna d\u00f6n\u00fc\u015ft\u00fcrmemiz gerekir. Lambda fonksiyonu, her bir <code class=\"language-\">urun<\/code> i\u00e7in <code class=\"language-\">aranan_kelime<\/code>&#8216;nin <code class=\"language-\">urun<\/code> i\u00e7inde olup olmad\u0131\u011f\u0131n\u0131 kontrol eder. E\u011fer <code class=\"language-\">True<\/code> ise, o <code class=\"language-\">urun<\/code> filtrelenmi\u015f sonuca dahil edilir. Liste anlamalar\u0131 ile kar\u015f\u0131la\u015ft\u0131r\u0131ld\u0131\u011f\u0131nda, <code class=\"language-\">filter()<\/code> fonksiyonu bazen daha az okunabilir olabilir, ancak fonksiyonel programlama tarz\u0131n\u0131 benimseyenler i\u00e7in g\u00fc\u00e7l\u00fc bir alternatiftir.<\/p>\n<h3><code class=\"language-\">str.find()<\/code> ve <code class=\"language-\">str.index()<\/code> Metotlar\u0131 ile Konum Bulma<\/h3>\n<p>E\u011fer sadece bir string&#8217;in listede olup olmad\u0131\u011f\u0131n\u0131 de\u011fil, ayn\u0131 zamanda listedeki hangi indekste bulundu\u011funu veya bir alt string&#8217;in nerede ba\u015flad\u0131\u011f\u0131n\u0131 bilmek istiyorsan\u0131z, string nesnelerinin <code class=\"language-\">find()<\/code> ve <code class=\"language-\">index()<\/code> metotlar\u0131 devreye girer.<\/p>\n<p>*   <strong><code class=\"language-\">str.find(substring)<\/code><\/strong>: Bir alt string&#8217;in listedeki \u00f6\u011fe i\u00e7inde ilk ge\u00e7ti\u011fi indeksi d\u00f6nd\u00fcr\u00fcr. E\u011fer alt string bulunamazsa, <code class=\"language-\">-1<\/code> d\u00f6nd\u00fcr\u00fcr.<br \/>\n*   <strong><code class=\"language-\">str.index(substring)<\/code><\/strong>: <code class=\"language-\">find()<\/code> metodu gibidir, ancak alt string bulunamazsa bir <code class=\"language-\">ValueError<\/code> hatas\u0131 f\u0131rlat\u0131r.<\/p>\n<p>Bu metotlar, listedeki \u00f6\u011felerin kendileri \u00fczerinde \u00e7al\u0131\u015f\u0131r. Yani, \u00f6nce listedeki her bir string \u00f6\u011fesini al\u0131p, ard\u0131ndan bu \u00f6\u011fe \u00fczerinde <code class=\"language-\">find()<\/code> veya <code class=\"language-\">index()<\/code> metodunu kullan\u0131r\u0131z.<\/p>\n<pre class=\"language-python\"><code>mesajlar = [&quot;Hata: Dosya bulunamad\u0131.&quot;, &quot;Uyar\u0131: D\u00fc\u015f\u00fck disk alan\u0131.&quot;, &quot;Bilgi: \u0130\u015flem tamamland\u0131.&quot;, &quot;Hata: Yetkilendirme reddedildi.&quot;]\naranan_hata_mesaji = &quot;Hata:&quot;\n\nhatali_mesaj_indexleri = []\nfor i, mesaj in enumerate(mesajlar):\n    # find() metodu ile alt string'in ba\u015flang\u0131\u00e7 indeksini bulal\u0131m\n    if mesaj.find(aranan_hata_mesaji) != -1:\n        hatali_mesaj_indexleri.append(i)\n        print(f&quot;'{aranan_hata_mesaji}' i\u00e7eren mesaj: '{mesaj}' (\u0130ndeks: {i})&quot;)\n\nprint(f&quot;Hata mesajlar\u0131n\u0131n bulundu\u011fu indeksler: {hatali_mesaj_indexleri}&quot;)<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code class=\"language-\">enumerate()<\/code> fonksiyonunu kullanarak hem indeksi hem de \u00f6\u011feyi ald\u0131k. <code class=\"language-\">mesaj.find(aranan_hata_mesaji)<\/code> ifadesi, &#8220;Hata:&#8221; string&#8217;inin mesaj\u0131n i\u00e7inde olup olmad\u0131\u011f\u0131n\u0131 kontrol eder. E\u011fer <code class=\"language-\">-1<\/code>&#8216;den farkl\u0131 bir de\u011fer d\u00f6nerse, bu alt string&#8217;in bulundu\u011fu indeksi g\u00f6sterir ve mesaj\u0131 listeye ekleriz. <code class=\"language-\">index()<\/code> metodu da benzer \u015fekilde \u00e7al\u0131\u015f\u0131r ancak hata durumunda program\u0131n \u00e7\u00f6kmesine neden olabilir, bu y\u00fczden <code class=\"language-\">find()<\/code> genellikle daha g\u00fcvenli bir se\u00e7enektir, \u00f6zellikle aranan\u0131n kesinlikle bulunaca\u011f\u0131ndan emin olmad\u0131\u011f\u0131n\u0131z durumlarda.<\/p>\n<h3>Ger\u00e7ek D\u00fcnya Senaryosu: Log Dosyas\u0131 Analizi<\/h3>\n<p>Bir yaz\u0131l\u0131m geli\u015ftiricisi olarak, sunucu log dosyalar\u0131n\u0131 analiz etmek s\u0131k\u00e7a kar\u015f\u0131la\u015f\u0131lan bir durumdur. Bu log dosyalar\u0131 genellikle milyonlarca sat\u0131r metin i\u00e7erir ve belirli hata mesajlar\u0131n\u0131, uyar\u0131lar\u0131 veya istenen bilgileri bulmak i\u00e7in etkili arama y\u00f6ntemlerine ihtiya\u00e7 duyar\u0131z.<\/p>\n<p>Diyelim ki, bir web sunucusunun eri\u015fim loglar\u0131n\u0131 analiz ediyoruz ve belirli bir IP adresinden gelen t\u00fcm istekleri bulmak istiyoruz. Log dosyas\u0131 bir liste olarak okunmu\u015f olabilir.<\/p>\n<pre class=\"language-python\"><code># \u00d6rnek log sat\u0131rlar\u0131 (ger\u00e7ekte bir dosyadan okunur)\nlog_satirlari = [\n    &quot;192.168.1.10 - - [10\/Oct\/2023:10:00:01 +0000] \\&quot;GET \/index.html HTTP\/1.1\\&quot; 200 1234&quot;,\n    &quot;10.0.0.5 - - [10\/Oct\/2023:10:00:05 +0000] \\&quot;POST \/login HTTP\/1.1\\&quot; 401 567&quot;,\n    &quot;192.168.1.10 - - [10\/Oct\/2023:10:00:10 +0000] \\&quot;GET \/images\/logo.png HTTP\/1.1\\&quot; 200 5678&quot;,\n    &quot;172.16.0.20 - - [10\/Oct\/2023:10:00:15 +0000] \\&quot;GET \/about.html HTTP\/1.1\\&quot; 200 2345&quot;,\n    &quot;192.168.1.10 - - [10\/Oct\/2023:10:00:20 +0000] \\&quot;GET \/styles.css HTTP\/1.1\\&quot; 200 3456&quot;\n]\n\naranan_ip_adresi = &quot;192.168.1.10&quot;\nip_adresine_ait_satirlar = []\n\n# Liste anlamalar\u0131 kullanarak IP adresine ait sat\u0131rlar\u0131 bulma\nip_adresine_ait_satirlar = [satir for satir in log_satirlari if satir.startswith(aranan_ip_adresi)]\n\nprint(f&quot;'{aranan_ip_adresi}' IP adresine ait log kay\u0131tlar\u0131:&quot;)\nfor satir in ip_adresine_ait_satirlar:\n    print(satir)<\/code><\/pre>\n<p>Bu senaryoda, <code class=\"language-\">startswith()<\/code> metodu, bir string&#8217;in belirli bir karakter dizisiyle ba\u015flay\u0131p ba\u015flamad\u0131\u011f\u0131n\u0131 kontrol eder. Bu, IP adresini bulmak i\u00e7in olduk\u00e7a verimli bir y\u00f6ntemdir \u00e7\u00fcnk\u00fc IP adresi genellikle log sat\u0131r\u0131n\u0131n en ba\u015f\u0131nda yer al\u0131r. E\u011fer IP adresi sat\u0131r\u0131n herhangi bir yerinde olabilseydi, <code class=\"language-\">in<\/code> operat\u00f6r\u00fc veya <code class=\"language-\">find()<\/code> metodu daha uygun olurdu. Bu t\u00fcr bir analiz, a\u011f g\u00fcvenli\u011fi, performans izleme ve hata ay\u0131klama gibi alanlarda kritik \u00f6neme sahiptir.<\/p>\n<h3>Daha Geli\u015fmi\u015f Arama: D\u00fczenli \u0130fadeler (Regular Expressions)<\/h3>\n<p>Bazen arad\u0131\u011f\u0131m\u0131z string&#8217;ler basit bir e\u015fle\u015fme veya alt string kontrol\u00fc ile bulunamaz. Daha karma\u015f\u0131k desenler, belirli bir format\u0131 takip eden metinler veya de\u011fi\u015fkenlik g\u00f6steren yap\u0131larla u\u011fra\u015fmam\u0131z gerekebilir. \u0130\u015fte bu noktada Python&#8217;\u0131n <code class=\"language-\">re<\/code> mod\u00fcl\u00fc devreye girer ve d\u00fczenli ifadeler (regular expressions) ile \u00e7ok daha g\u00fc\u00e7l\u00fc arama yetenekleri sunar.<\/p>\n<p>D\u00fczenli ifadeler, metin i\u00e7inde desenleri tan\u0131mlamak i\u00e7in kullan\u0131lan \u00f6zel bir karakter dizisidir. \u00d6rne\u011fin, t\u00fcm e-posta adreslerini, telefon numaralar\u0131n\u0131 veya belirli bir say\u0131sal deseni bulmak i\u00e7in kullan\u0131labilirler.<\/p>\n<pre class=\"language-python\"><code>import re\n\nveri_listesi = [\n    &quot;Kullan\u0131c\u0131: ali.veli@example.com&quot;,\n    &quot;Destek: destek@firma.net&quot;,\n    &quot;Bilgi:  info@sub.domain.org&quot;,\n    &quot;Yanl\u0131\u015f Format: ali@.com&quot;,\n    &quot;Sadece Metin&quot;\n]\n\n# E-posta adreslerini bulmak i\u00e7in d\u00fczenli ifade deseni\n# Bu desen, harf, say\u0131, nokta, alt \u00e7izgi ve @ i\u015faretini i\u00e7eren ge\u00e7erli e-posta formatlar\u0131n\u0131 yakalamay\u0131 hedefler.\nemail_deseni = r'\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Z|a-z]{2,}\\b'\n\nbulunan_email_adresleri = []\n\nfor eleman in veri_listesi:\n    # re.findall() fonksiyonu, desene uyan t\u00fcm e\u015fle\u015fmeleri bir liste olarak d\u00f6nd\u00fcr\u00fcr.\n    eslesmeler = re.findall(email_deseni, eleman)\n    bulunan_email_adresleri.extend(eslesmeler) # extend ile bulunanlar\u0131 ana listeye ekle\n\nprint(f&quot;Bulunan e-posta adresleri: {bulunan_email_adresleri}&quot;)<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code class=\"language-\">re.findall()<\/code> fonksiyonu, <code class=\"language-\">email_deseni<\/code> ile e\u015fle\u015fen t\u00fcm string&#8217;leri <code class=\"language-\">veri_listesi<\/code>&#8216;ndeki her bir eleman i\u00e7inde arar. Desen, standart bir e-posta format\u0131n\u0131 tan\u0131mlar. D\u00fczenli ifadeler ba\u015flang\u0131\u00e7ta karma\u015f\u0131k g\u00f6r\u00fcnebilir, ancak metin i\u015fleme g\u00f6revlerinde sunduklar\u0131 g\u00fc\u00e7 ve esneklik paha bi\u00e7ilmezdir. Farkl\u0131 desenler olu\u015fturarak \u00e7ok \u00e7e\u015fitli veri yap\u0131lar\u0131n\u0131 ve metin t\u00fcrlerini arayabilirsiniz.<\/p>\n<h3>Performans \u0130pu\u00e7lar\u0131 ve Dikkat Edilmesi Gerekenler<\/h3>\n<p>Python&#8217;da bir listede string ararken performans, \u00f6zellikle b\u00fcy\u00fck veri setleriyle \u00e7al\u0131\u015f\u0131rken \u00f6nemli bir fakt\u00f6r haline gelebilir. \u0130\u015fte dikkate alman\u0131z gereken baz\u0131 noktalar:<\/p>\n<p>*   <strong>Veri Yap\u0131s\u0131 Se\u00e7imi<\/strong>: E\u011fer s\u0131k s\u0131k belirli bir string&#8217;in varl\u0131\u011f\u0131n\u0131 kontrol ediyorsan\u0131z ve s\u0131ran\u0131n \u00f6nemi yoksa, bir <code class=\"language-\">set<\/code> (k\u00fcme) veri yap\u0131s\u0131 kullanmak <code class=\"language-\">in<\/code> operat\u00f6r\u00fc ile arama i\u00e7in genellikle daha h\u0131zl\u0131d\u0131r. K\u00fcmeler, ortalama O(1) zaman karma\u015f\u0131kl\u0131\u011f\u0131na sahip karma (hash) tablolar\u0131 kullan\u0131r, listeler ise ortalama O(n) karma\u015f\u0131kl\u0131\u011f\u0131na sahiptir. Ancak, k\u00fcme olu\u015fturman\u0131n bir maliyeti vard\u0131r ve \u00f6\u011felerin s\u0131ral\u0131 olmas\u0131 gerekiyorsa liste kullanmaya devam etmelisiniz.<br \/>\n*   <strong>B\u00fcy\u00fck Listeler i\u00e7in Optimizasyon<\/strong>: \u00c7ok b\u00fcy\u00fck listelerde, t\u00fcm listeyi taramak yerine, veriyi \u00f6nceden i\u015fleyerek veya indeksleyerek arama s\u00fcresini k\u0131saltabilirsiniz. \u00d6rne\u011fin, e\u011fer belirli bir \u00f6nekle ba\u015flayan string&#8217;leri s\u0131k s\u0131k ar\u0131yorsan\u0131z, bu \u00f6neklere g\u00f6re veriyi grupland\u0131rabilirsiniz.<br \/>\n*   <strong><code class=\"language-\">str.find()<\/code> vs. <code class=\"language-\">str.index()<\/code><\/strong>: Performans a\u00e7\u0131s\u0131ndan aralar\u0131nda b\u00fcy\u00fck bir fark olmasa da, <code class=\"language-\">find()<\/code> metodu hata durumunda <code class=\"language-\">-1<\/code> d\u00f6nd\u00fcrd\u00fc\u011f\u00fc i\u00e7in daha g\u00fcvenlidir ve genellikle tercih edilir, \u00e7\u00fcnk\u00fc program\u0131n \u00e7\u00f6kmesini engeller. E\u011fer aranan\u0131n kesinlikle bulunaca\u011f\u0131n\u0131 biliyorsan\u0131z ve hata durumunda program\u0131n durmas\u0131n\u0131 istiyorsan\u0131z <code class=\"language-\">index()<\/code> kullan\u0131labilir.<br \/>\n*   <strong>Liste Anlamalar\u0131 ve <code class=\"language-\">filter()<\/code><\/strong>: Liste anlamalar\u0131 genellikle <code class=\"language-\">for<\/code> d\u00f6ng\u00fclerinden daha performansl\u0131d\u0131r \u00e7\u00fcnk\u00fc daha az say\u0131da ara nesne olu\u015ftururlar. <code class=\"language-\">filter()<\/code> fonksiyonu da benzer \u015fekilde performansl\u0131 olabilir ancak lambda fonksiyonlar\u0131n\u0131n karma\u015f\u0131kl\u0131\u011f\u0131na ba\u011fl\u0131 olarak performans\u0131 de\u011fi\u015febilir.<br \/>\n*   <strong>D\u00fczenli \u0130fadeler<\/strong>: D\u00fczenli ifadeler \u00e7ok g\u00fc\u00e7l\u00fcd\u00fcr ancak karma\u015f\u0131k desenler veya b\u00fcy\u00fck metinler \u00fczerinde \u00e7al\u0131\u015f\u0131rken performans maliyeti y\u00fcksek olabilir. E\u011fer basit bir alt string aramas\u0131 yap\u0131yorsan\u0131z, <code class=\"language-\">in<\/code> operat\u00f6r\u00fc veya <code class=\"language-\">find()<\/code> metodu d\u00fczenli ifadelerden daha h\u0131zl\u0131 olacakt\u0131r. D\u00fczenli ifadeleri yaln\u0131zca ger\u00e7ekten gerekti\u011finde kullan\u0131n.<\/p>\n<p><strong># Sonu\u00e7 ve S\u0131k\u00e7a Sorulan Sorular<\/strong><\/p>\n<p>Python&#8217;da bir listede string bulma konusunda, <code class=\"language-\">in<\/code> operat\u00f6r\u00fcn\u00fcn basitli\u011finden, d\u00f6ng\u00fcler ve ko\u015fullu ifadelerin esnekli\u011fine, liste anlamalar\u0131n\u0131n zarafetine, <code class=\"language-\">filter()<\/code> fonksiyonunun fonksiyonel g\u00fcc\u00fcne ve <code class=\"language-\">re<\/code> mod\u00fcl\u00fcn\u00fcn geli\u015fmi\u015f desen e\u015fle\u015ftirme yeteneklerine kadar bir\u00e7ok farkl\u0131 y\u00f6ntem bulunmaktad\u0131r. Hangi y\u00f6ntemin en uygun oldu\u011fu, spesifik ihtiyac\u0131n\u0131za, veri setinizin boyutuna ve performans gereksinimlerinize ba\u011fl\u0131d\u0131r.<\/p>\n<p>*   <strong>Soru 1: Bir listede belirli bir string&#8217;in olup olmad\u0131\u011f\u0131n\u0131 en h\u0131zl\u0131 nas\u0131l kontrol edebilirim?<\/strong><br \/>\n    *   Cevap: E\u011fer sadece var olup olmad\u0131\u011f\u0131n\u0131 bilmek istiyorsan\u0131z ve s\u0131ran\u0131n \u00f6nemi yoksa, <code class=\"language-\">set<\/code> veri yap\u0131s\u0131 ile <code class=\"language-\">in<\/code> operat\u00f6r\u00fcn\u00fc kullanmak genellikle en h\u0131zl\u0131 yoldur. E\u011fer veri zaten bir liste ise, do\u011frudan <code class=\"language-\">in<\/code> operat\u00f6r\u00fc de olduk\u00e7a h\u0131zl\u0131d\u0131r.<\/p>\n<p>*   <strong>Soru 2: Listedeki t\u00fcm string&#8217;leri belirli bir kelimeyi i\u00e7erip i\u00e7ermedi\u011fine g\u00f6re nas\u0131l filtreleyebilirim?<\/strong><br \/>\n    *   Cevap: Liste anlamalar\u0131 (<code class=\"language-\">[eleman for eleman in liste if kelime in eleman]<\/code>) veya <code class=\"language-\">filter()<\/code> fonksiyonu bu i\u015f i\u00e7in idealdir. Basit bir d\u00f6ng\u00fc ve <code class=\"language-\">if<\/code> ko\u015fulu da kullan\u0131labilir.<\/p>\n<p>*   <strong>Soru 3: Bir string&#8217;in listedeki \u00f6\u011felerin neresinde oldu\u011funu nas\u0131l bulabilirim?<\/strong><br \/>\n    *   Cevap: \u00d6\u011feler \u00fczerinde <code class=\"language-\">str.find()<\/code> veya <code class=\"language-\">str.index()<\/code> metotlar\u0131n\u0131 kullanarak string&#8217;in ba\u015flang\u0131\u00e7 indeksini bulabilirsiniz.<\/p>\n<p>*   <strong>Soru 4: \u00c7ok karma\u015f\u0131k desenlere sahip string&#8217;leri nas\u0131l arayabilirim?<\/strong><br \/>\n    *   Cevap: Python&#8217;\u0131n <code class=\"language-\">re<\/code> mod\u00fcl\u00fcn\u00fc kullanarak d\u00fczenli ifadelerle bu t\u00fcr karma\u015f\u0131k aramalar\u0131 ger\u00e7ekle\u015ftirebilirsiniz.<\/p>\n<p>*   <strong>Soru 5: Performans a\u00e7\u0131s\u0131ndan nelere dikkat etmeliyim?<\/strong><br \/>\n    *   Cevap: B\u00fcy\u00fck listelerde <code class=\"language-\">set<\/code> kullanmay\u0131, gereksiz yere d\u00fczenli ifadelerden ka\u00e7\u0131nmay\u0131 ve liste anlamalar\u0131n\u0131 tercih etmeyi d\u00fc\u015f\u00fcnebilirsiniz.<\/p>\n<p>Python&#8217;\u0131n sundu\u011fu bu \u00e7e\u015fitli ara\u00e7lar sayesinde, listede string arama gibi yayg\u0131n g\u00f6revleri hem verimli hem de etkili bir \u015fekilde yerine getirebilirsiniz. Pratik yaparak ve farkl\u0131 senaryolarda bu y\u00f6ntemleri deneyerek becerilerinizi geli\u015ftirebilirsiniz.<\/p>\n<div class=\"github-example-link\"><strong>\u00d6rnek kod:<\/strong> <a href=\"https:\/\/github.com\/fatihsoysalcom\/python-list-string-search-methods\" target=\"_blank\" rel=\"noopener noreferrer\">github.com\/fatihsoysalcom\/python-list-string-search-methods<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"Python&#8217;da Listede String Bulma: Kapsaml\u0131 Bir Rehber Python&#8217;da bir listede belirli bir string&#8217;i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1403],"tags":[],"class_list":{"0":"post-42587","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-python","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python&#039;da Listede String Bulma: Kapsaml\u0131 Bir Rehber<\/title>\n<meta name=\"description\" content=\"Python&#039;da Listede String Bulma: Kapsaml\u0131 Bir Rehber Python&#039;da bir listede belirli bir string&#039;i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel ve s\u0131k kar\u015f\u0131la\u015f\u0131lan g\u00f6revlerinden biridir.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python&#039;da Listede String Bulma: Kapsaml\u0131 Bir Rehber\" \/>\n<meta property=\"og:description\" content=\"Python&#039;da Listede String Bulma: Kapsaml\u0131 Bir Rehber Python&#039;da bir listede belirli bir string&#039;i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel ve s\u0131k kar\u015f\u0131la\u015f\u0131lan g\u00f6revlerinden biridir.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-16T11:00:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-16T11:00:53+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Python&#8217;da Listede String Bulma: Kapsaml\u0131 Bir Rehber\",\"datePublished\":\"2026-06-16T11:00:30+00:00\",\"dateModified\":\"2026-06-16T11:00:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/\"},\"wordCount\":2150,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Python\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#respond\"]}],\"copyrightYear\":\"2026\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/\",\"name\":\"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2026-06-16T11:00:30+00:00\",\"dateModified\":\"2026-06-16T11:00:53+00:00\",\"description\":\"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber Python'da bir listede belirli bir string'i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel ve s\u0131k kar\u015f\u0131la\u015f\u0131lan g\u00f6revlerinden biridir.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python&#8217;da Listede String Bulma: Kapsaml\u0131 Bir Rehber\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber","description":"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber Python'da bir listede belirli bir string'i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel ve s\u0131k kar\u015f\u0131la\u015f\u0131lan g\u00f6revlerinden biridir.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/","og_locale":"tr_TR","og_type":"article","og_title":"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber","og_description":"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber Python'da bir listede belirli bir string'i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel ve s\u0131k kar\u015f\u0131la\u015f\u0131lan g\u00f6revlerinden biridir.","og_url":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2026-06-16T11:00:30+00:00","article_modified_time":"2026-06-16T11:00:53+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"14 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Python&#8217;da Listede String Bulma: Kapsaml\u0131 Bir Rehber","datePublished":"2026-06-16T11:00:30+00:00","dateModified":"2026-06-16T11:00:53+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/"},"wordCount":2150,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Python"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#respond"]}],"copyrightYear":"2026","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/","url":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/","name":"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2026-06-16T11:00:30+00:00","dateModified":"2026-06-16T11:00:53+00:00","description":"Python'da Listede String Bulma: Kapsaml\u0131 Bir Rehber Python'da bir listede belirli bir string'i aramak, yaz\u0131l\u0131m geli\u015ftirmenin en temel ve s\u0131k kar\u015f\u0131la\u015f\u0131lan g\u00f6revlerinden biridir.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/pythonda-listede-string-bulma-kapsamli-bir-rehber\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python&#8217;da Listede String Bulma: Kapsaml\u0131 Bir Rehber"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/42587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=42587"}],"version-history":[{"count":1,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/42587\/revisions"}],"predecessor-version":[{"id":42588,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/42587\/revisions\/42588"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=42587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=42587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=42587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}