MODERN LOGIN GUI IN PYTHON USING TKINTER

Channel Avatar
Comment
X
Share
MODERN LOGIN GUI IN PYTHON USING TKINTER
MODERN LOGIN GUI IN PYTHON USING TKINTER
MODERN LOGIN GUI IN PYTHON USING TKINTER
This Video is part of the TKinter GUI Series full playlist available on channel
Source Code : –
#importing required modules
import tkinter
import customtkinter
from PIL import ImageTk,Image

# Modes: system (default), light, dark
customtkinter.set_appearance_mode(/”light/”)
# Themes: blue (default), dark-blue, green
customtkinter.set_default_color_theme(/”green/”)

#creating cutstom tkinter window
app customtkinter.CTk()
app.geometry(/”600×440/”)
app.title(‘Login – GUI’)

img1ImageTk.PhotoImage(Image.open(/”bgimage.webp/”))

l1customtkinter.CTkLabel(masterapp,imageimg1)

l1.pack()

#creating custom frame
framecustomtkinter.CTkFrame(masterl1,
width320, height360, corner_radius15)

frame.place(relx0.5, rely0.5,
anchortkinter.CENTER)

l2customtkinter.CTkLabel(masterframe,
text/”Log in/

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *