Turkish
Merhaba arkadaşlar, bu proje deposu, python öğrenme temelli olup, adım adım ilerleyecektir. Projenin sonlarında python temelli olan django web uygulaması olarak bir url'den sunulacaktır. Aklınıza takılan yerler için soru sormaktan çekinmeyiniz. Eminim faydalı bir eğitim serisi olacaktır. Daha iyi django yazabilmek için daha iyi bir python'cu olmamız gerek arkadaşlar. Python eğitim serimiz ile şimdiden başarılar diliyorum hepinize. Bu yazımda sizlere daha iyi bir django için python'daki liste kavramını, özellikleri, ekstra kullanabileceğimiz fonksiyonları anlatacağım.
English
Hi guys, this project repository is based on python learning and will progress step by step. At the end of the project, a django web application based on python will be presented from a URL. Do not hesitate to ask a question for your mind. I'm sure it will be a useful training series. We need to be a better python to write better django. I wish you success with Python training series already. In this video tutorial I will describe the functions of the list concept in python, its features, extra functions for a better django coder.
Kodlar;
bos_liste = []
liste_isim = ['d', 'c', 'k']
print liste_isim
liste_isim[0]
liste_isim[1]
liste_isim[2]
len(liste_isim)
print len(liste_isim)
print liste_isim.index('d')
print liste_isim.index('c')
print liste_isim.index('k')
bos_liste = []
bos_liste.append('dogancankilment')
bos_liste.append('utopian-io')
print bos_liste
bos_liste[0]
bos_liste[1]
print "ilk_eleman: ", bos_liste[0], "ikinci_eleman: ", bos_liste[1]
for liste_elemanlari in bos_liste:
print liste_elemanlari
bos_liste.remove('utopian-io')
bos_liste.append('test edilecek degisken ')
del bos_liste[1]
bos_liste.append('can')
bos_liste.append('can')
bos_liste.count('can')
bos_liste.count('dogancankilment')
sayi_listesi = ['1','3','5','2']
print sayi_listesi
sayi_listesi.sort()
Posted on Utopian.io - Rewarding Open Source Contributors