 Merhabalar Python programlama derslerinin bu bölümünde _stringler_ ve onlarla alakalı metotlara başlayacağız. En çok kullanılan string metotlarını tekere teker ele alacağız. Vereceğimiz metotların dışındaki diğer string metotları ve kullanımlarını aşağıdaki linkten öğrenebilirsiniz : [string metotları](https://www.tutorialspoint.com/python/python_strings.htm) ## upper() ve lower() metotları Stringler üzerinde en çok kullanılan metotlarından ikisidir. _upper()_ metodu, stringin tüm karakterlerini büyük harfe çevirirken; _lower()_ fonksiyonu stringin tüm karakterlerini küçük harfe çevirir. Bu iki fonksiyonu direk string değişkenler üzerinde kullanabilirsiniz. Bunun için string değişken ismini yazdıktan sonra nokta operatörü ile fonksiyonları çağırabilirsiniz :  Bunun dışında bir stringi herhangi bir değişkene atamadan direk string üzerinde de aynı işlemleri uygulayabilirsiniz :  Bu fonksiyonlar özellikle kullanıcı adı alırken ya da herhangi bir form bilgisini çekerken standardizasyonu sağlama için oldukça faydalıdır. ## replace() metodu _replace()_ metodu normal herhangi bir text editöründe yaptığımız değiştirme işlemini yapmaktadır. İki parametre alır. Birinci parametre metin içerisinde ikincisi ile değiştirir. Uygulamasını görelim :  _Elektroyazılım_ kelimesindeki _"ı"_ harflerini _"i"_ harfi ile değiştirdi. _replace()_ metodunu bunların dışında boşluk algılatmak için de kullanabilirsiniz. Mesela aşağıdaki örnekte boşluk karakterleri, "-" ile değiştirilmiştir.  Bu metodu kullanarak şifre ya da kullanıcı isimlerindeki boşlukları kaldırabiliriz :  Şimdilik bu kadar. Umarım faydalı bir çalışma olmuştur. Teşekkürler.  Kaynak belirtilmeyen görseller bana aittir. The pictures without source in the post is belong to me <hr><center><sub>Posted via <a href="https://www.marlians.com/">Marlians.com</a></sub></center>
author | elektroyazilim |
---|---|
permlink | string-metotlari-1-python-dersleri-tutorials |
category | palnet |
json_metadata | {"tags":["palnet","zzan","stem","tr","programming","python","marlians"],"image":["https://cdn.steemitimages.com/DQmVqEHkajCZyuMfc1Nn7AfRj9QwYTddNmLcySkpi48PD1S/yeni.jpg","https://cdn.steemitimages.com/DQmZmzgt8FLQzdWAoEnxgQCZAbJYKD76mtdXM3bV1GsoNJc/image.png","https://cdn.steemitimages.com/DQmXvcHhZwcB433nxTu5cZQ8LwNda4oWHZVCeSQc9ffNiVh/image.png","https://cdn.steemitimages.com/DQmYk7mmDUneg3mijuJr929eNQmrCNwE4qG5jx1sfsUQt6c/image.png","https://cdn.steemitimages.com/DQme74hQDGCEobjqWJ1dvbm8vg9dEeeEZ91j6GdJKPaAV1f/image.png","https://cdn.steemitimages.com/DQmRDtSuRDxz7QiEfa6SonekhZvKDgWg8H2nFQWjdfM54gZ/image.png","https://cdn.steemitimages.com/DQmYZw2bhUomeivJwQ8CiLaTzXTbJPLd1PsSGdcoEE1DfKP/yesilayrca.png"],"links":["https://www.tutorialspoint.com/python/python_strings.htm"],"app":"marlians/0.1","format":"markdown"} |
created | 2019-08-17 06:26:45 |
last_update | 2019-08-17 06:26:45 |
depth | 0 |
children | 10 |
last_payout | 2019-08-24 06:26:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 10.577 HBD |
curator_payout_value | 3.337 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,538 |
author_reputation | 73,919,354,200,140 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,622,350 |
net_rshares | 41,571,648,789,473 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
team | 0 | 86,696,050,969 | 10% | ||
steemyoda | 0 | 3,272,697,557,105 | 23.75% | ||
steemitboard | 0 | 31,676,704,290 | 2% | ||
oxiecuador | 0 | 148,992,198 | 5% | ||
koinbot | 0 | 763,383,793,946 | 100% | ||
steinhammer | 0 | 594,043,430 | 20% | ||
steemfunding | 0 | 1,295,519,908,440 | 95.16% | ||
steemlike | 0 | 136,288,253,954 | 100% | ||
steemlite | 0 | 167,960,990,503 | 100% | ||
neokuduk | 0 | 13,833,699,678 | 100% | ||
best-strategy | 0 | 8,759,312,075 | 100% | ||
literaturk | 0 | 3,305,063,074 | 100% | ||
minnowvotes | 0 | 20,334,595,702,526 | 94.12% | ||
sudefteri | 0 | 12,392,589,617 | 100% | ||
akifane | 0 | 2,648,253,144 | 100% | ||
rasit | 0 | 436,229,632 | 100% | ||
bid4joy | 0 | 460,462,952,444 | 100% | ||
maveraunnehr | 0 | 437,374,854 | 100% | ||
dailyhouston | 0 | 401,511,316 | 75.81% | ||
redlambo | 0 | 201,433,539,898 | 33.33% | ||
luckyvotes | 0 | 2,088,854,517,234 | 92.88% | ||
brupvoter | 0 | 2,614,622,477,306 | 65.71% | ||
inciter | 0 | 5,102,111,261,556 | 63.15% | ||
soteyapanbot | 0 | 17,818,295,443 | 20% | ||
edensgarden | 0 | 1,117,507,541,971 | 82.63% | ||
oceansbot | 0 | 104,760,845 | 75.81% | ||
thebot | 0 | 778,834,230,222 | 79.34% | ||
oceanwhale | 0 | 1,477,862,519,755 | 75.81% | ||
crabbot | 0 | 540,725,637 | 100% | ||
profitvote | 0 | 1,035,352,799,606 | 77.58% | ||
mozer | 0 | 1,539,944,699 | 30% | ||
tahirozgen | 0 | 89,695,349,873 | 90% | ||
whalepromobot | 0 | 209,540,997,535 | 50% | ||
ayisigi | 0 | 421,933,472 | 100% | ||
steemst | 0 | 27,214,553,256 | 100% | ||
kabasakal | 0 | 10,748,149,430 | 30% | ||
maonx | 0 | 9,561,063,599 | 100% | ||
omeryetim | 0 | 96,487,739 | 30% | ||
iskenderk | 0 | 17,570,426,050 | 100% | ||
yusufyusuf | 0 | 59,621,049,242 | 100% | ||
cocukgelisimi | 0 | 5,908,424,729 | 100% | ||
denizcakmak | 0 | 60,086,146,010 | 100% | ||
elektroyazilim | 0 | 49,021,916,810 | 100% | ||
iktisat | 0 | 1,063,999,836 | 100% | ||
reversemagnetar | 0 | 728,589,754 | 100% | ||
votecenter | 0 | 995,841,190 | 18.18% | ||
marlivoter | 0 | 99,341,837 | 79% | ||
ekitap | 0 | 452,921,744 | 100% |
You got a 100.00% upvote from @bid4joy courtesy of @elektroyazilim!
author | bid4joy |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190819t235923176z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-19 23:59:21 |
last_update | 2019-08-19 23:59:21 |
depth | 1 |
children | 0 |
last_payout | 2019-08-26 23:59:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 68 |
author_reputation | 11,746,524,585,557 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,722,472 |
net_rshares | 0 |
You got a 65.71% upvote from @brupvoter courtesy of @elektroyazilim!
author | brupvoter |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190820t010708901z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-20 01:07:09 |
last_update | 2019-08-20 01:07:09 |
depth | 1 |
children | 0 |
last_payout | 2019-08-27 01:07:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 69 |
author_reputation | 13,657,314,846,422 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,724,040 |
net_rshares | 0 |
Thanks for using @edensgarden!
author | edensgarden |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190822t033559319z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-22 03:36:00 |
last_update | 2019-08-22 03:36:00 |
depth | 1 |
children | 0 |
last_payout | 2019-08-29 03:36:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 31 |
author_reputation | -100,797,867,719 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,808,662 |
net_rshares | 0 |
You got a 92.88% upvote from @luckyvotes courtesy of @elektroyazilim!
author | luckyvotes |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190822t074143859z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.2"} |
created | 2019-08-22 07:41:45 |
last_update | 2019-08-22 07:41:45 |
depth | 1 |
children | 0 |
last_payout | 2019-08-29 07:41:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 70 |
author_reputation | 29,364,484,293 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,814,553 |
net_rshares | 0 |
You got a 94.12% upvote from @minnowvotes courtesy of @elektroyazilim!
author | minnowvotes |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190820t051613647z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-20 05:16:15 |
last_update | 2019-08-20 05:16:15 |
depth | 1 |
children | 0 |
last_payout | 2019-08-27 05:16:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 71 |
author_reputation | -125,291,280,752 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,729,483 |
net_rshares | 0 |
You got a 33.33% upvote from @redlambo courtesy of @elektroyazilim! Make sure to use tag #redlambo to be considered for the curation post!
author | redlambo |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190820t060948083z |
category | palnet |
json_metadata | {"app":"postpromoter/1.9.2"} |
created | 2019-08-20 06:09:48 |
last_update | 2019-08-20 06:09:48 |
depth | 1 |
children | 0 |
last_payout | 2019-08-27 06:09:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 139 |
author_reputation | 123,143,757,359 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,730,631 |
net_rshares | 0 |
Congratulations @elektroyazilim! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) : <table><tr><td><img src="https://steemitimages.com/60x70/http://steemitboard.com/@elektroyazilim/payout.png?201908170948"></td><td>You received more than 4000 as payout for your posts. Your next target is to reach a total payout of 5000</td></tr> </table> <sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@elektroyazilim) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=elektroyazilim)_</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> To support your work, I also upvoted your post! > You can upvote this notification to help all Steem users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
author | steemitboard |
---|---|
permlink | steemitboard-notify-elektroyazilim-20190817t104056000z |
category | palnet |
json_metadata | {"image":["https://steemitboard.com/img/notify.png"]} |
created | 2019-08-17 10:40:54 |
last_update | 2019-08-17 10:40:54 |
depth | 1 |
children | 0 |
last_payout | 2019-08-24 10:40:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 928 |
author_reputation | 38,975,615,169,260 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,627,886 |
net_rshares | 0 |
The force is with you! You got a 23.75% upvote from @steemyoda courtesy of @elektroyazilim! http://ultraimg.com/images/2018/02/27/n8qb.gif
author | steemyoda |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190820t205657067z |
category | palnet |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2019-08-20 20:57:00 |
last_update | 2019-08-20 20:57:00 |
depth | 1 |
children | 0 |
last_payout | 2019-08-27 20:57:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 140 |
author_reputation | -1,181,563,121,002 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,760,926 |
net_rshares | 0 |
This post has received a 16.67% upvote from @votecenter
author | votecenter |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190819t234945593z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-19 23:49:48 |
last_update | 2019-08-19 23:49:48 |
depth | 1 |
children | 0 |
last_payout | 2019-08-26 23:49:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 55 |
author_reputation | -458,729,686,019 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,722,307 |
net_rshares | 0 |
You got a 50.00% upvote from @whalepromobot courtesy of @elektroyazilim!
author | whalepromobot |
---|---|
permlink | re-elektroyazilim-string-metotlari-1-python-dersleri-tutorials-20190820t002228887z |
category | palnet |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2019-08-20 00:22:33 |
last_update | 2019-08-20 00:22:33 |
depth | 1 |
children | 0 |
last_payout | 2019-08-27 00:22:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 73 |
author_reputation | -231,775,391,844 |
root_title | "String Metotları #1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,723,024 |
net_rshares | 0 |