Giới thiệu sản phẩm
Tìm hiểu chủ đề: Công nghệ cảm ứng
Kiến thức, khái niệm: Giới thiệu về Tkinter; Cài đặt Tkinter với PyCharm; Khái báo; Hiển thị cửa số và nút button với Tkinter
Dựa án làm quen với lập trình GUI: Hiển thị cửa sổ và nút button
from tkinter import*
Kiến thức, khái niệm: Giới thiệu về Tkinter; Cài đặt Tkinter với PyCharm; Khái báo; Hiển thị cửa số và nút button với Tkinter
Dựa án làm quen với lập trình GUI: Hiển thị cửa sổ và nút button
from tkinter import*
window = Tk()
window. title ("Idk? website")
window. configure(background=' aquamarine')
window. geometry ("800x600")
label1 = Label (window, text="Hế lô \n xin In chào", bg="red", fg= "black", font=" Time 25 bold italic", anchor=E )
label1.grid(row= 0, column= 1)
label2 = Label(window, text="Hế lô \nmọi người ", font=" Time 25", justify= LEFT )
label2.grid (row=0, column= 2)
label3 = Label(window, text="My name is Minh Phương", font=" Time 25", justify= LEFT )
label3.grid(row=2, column= 3)
btn_login = Button(window, text="Log in")
btn_login.grid(row=4, column= 3)
btn_login. config(background= "yellow", foreground= "red", font= (50), height= 3, width= 3)
username_entry = Entry(window, width= 15, show='*')
username_entry-Grid(row= 3, column= 3)
window.mainloop()
Hình ảnh sản phẩm
Sản phẩm cùng tác giả
Sản phẩm liên quan
Không có sản phẩm nào
Đăng nhập để tham gia bình luận