if word in mystring:
print 'success'
Unix, Linux, JBoss, Websphere, Ant, Python, Oracle DB, Arduino, Raspberry Pi.
10 Kasım 2017 Cuma
Bash - Komut çıktısını döngüye input etmek
while read u; do
echo kullanici:$u
done < <(git shortlog -sn | cut -f2)
echo kullanici:$u
done < <(git shortlog -sn | cut -f2)
Git - Commit logları
git log --committer="Yigit" --oneline --shortstat --after=2017-01-01 --before=2018-01-01
Python - Kabuk komutunun çıktısını kullanmak
import os
p=os.popen('dir /s/b pom.xml')
while 1:
line = p.readline()
if not line: break
print "Satir:" + line
p=os.popen('dir /s/b pom.xml')
while 1:
line = p.readline()
if not line: break
print "Satir:" + line
8 Mart 2017 Çarşamba
Kaydol:
Kayıtlar (Atom)