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
from tkinter import * | |
tk = Tk() | |
tk.title("Yazılım Furyası | Tkinter - Pencere Oluşturma") | |
tk.geometry("400x250") | |
Label(tk, text="Tkinter Pencere Oluşturma").pack() | |
tk.mainloop() |
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
import random | |
sayi = "ZXCVBNMASDFGHJKLQWERTYUOPzxcvbnmasdfghjkliqwertyuIop1234567890_-!#." | |
uzunluk = int(input("Şifre Kaç Karakter Uzunluğunda olsun? ")) | |
password = "" | |
for a in range(uzunluk): | |
password += random.choice(sayi) | |
print(password) |
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
import datetime | |
print("Tarihi gün, ay, yıl olarak yazınız. Örn: 04.11.1993") | |
dogumTarihi = datetime.datetime.strptime(input("Tarih: "), "%d.%m.%Y") | |
yas = datetime.datetime.now().today() | |
sonuc = yas - dogumTarihi | |
print(f"{sonuc.days} Gün\n{sonuc.seconds} Saniye\n{sonuc.microseconds} Mikrosaniye") |
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
import os | |
s = 1 | |
limit = 5000 #Kaç adet oluşturacak | |
for a in range(limit): | |
s += 1 | |
open(str(s)+'dosya.txt', 'w') |
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
import datetime | |
input("Hazır olduğunuzda ENTER 'e basınız. ") | |
print("ENTER 'e basınca sonuç gösterilir") | |
print("Süre başladı") | |
basla = datetime.datetime.now() | |
yazi = input("Yazınız: ") |