Last active
March 6, 2019 10:30
-
-
Save Ektaynot/71b1c301c6c9923680e0f3e187173c0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f = input("Ad:") | |
s = input("SoyAd:") | |
b = (f+s) | |
a = open("arsiv.txt","a") | |
a.write(b) | |
a.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b = input("ad:") | |
h = input("Soyad:") | |
m = (b+h) | |
a = open("arsiv.txt","r") | |
adana = a.read() | |
while True: | |
if (m) in adana: | |
print("Giriş Kabul Edildi") | |
break | |
else: | |
print("Hatalı Giriş") | |
raise SystemExit | |
print(""" | |
*******Kütüphane'ye Hoşgeldiniz******** | |
1-Kitap Seçme | |
2-Kütüphane Hakkında Bilgi | |
3-Kullanım Kılavuzu | |
4-Çıkış | |
""") | |
while True: | |
giris = int(input("Seçim:")) | |
if giris == 1: | |
print(""" | |
1-Michael S. Hart | |
Çıkış için 999 | |
*****Yakında Yeni Kitaplar ekleenceklerdir**** | |
""") | |
kitap = int(input("Seçim:")) | |
if kitap == 1: | |
a = open("kitap.txt","r") | |
adana = a.read() | |
print (adana) | |
break | |
if kitap == 999: | |
break | |
if giris == 2: | |
print(""" | |
Bu Kütüphane, Öğrenim amacı ile yapılmıştır. | |
Kodlara Ulaşmak için: | |
https://gist.github.com/Ektaynot/71b1c301c6c9923680e0f3e187173c0e | |
MadeByEktaynot | |
""") | |
if giris == 3: | |
print(""" | |
İstediğiniz Kitabı Okumak İçin Önce Ana Menüdeki | |
Kitap Seçme seçeneğini seçin(Bunun için "1" tuşuna basmanız yeterli) | |
Ardında Kitaplar menüsünden istediğiniz Kitabı seçebilirsiniz | |
""") | |
if giris == 4: | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment