Python tkinter kütüphanesini kullanarak form penceresi ve Entry (text kutusu) oluşturan Python Örneği:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # -*- coding: utf-8 -*- from tkinter import * from tkinter import messagebox pencere = Tk() pencere.title("www.tasarimkodlama.com") pencere.geometry("320x175") # grid form çizdirme uygulama = Frame(pencere) uygulama.grid() L1 = Label(uygulama, text="İfade Girin") L1.grid(padx=110, pady=10) E1 = Entry(uygulama, bd=2) E1.grid(padx=100, pady=3) # formu çiz pencere.mainloop() |
Ekran çıktısı:

Yorum Yap