Login Page Example tkinter

In python GUI window may be created as login Page using Tkinter widgets as Label, Button , EditText etc.

Widgets used to create Tkinter Login page:

(a) Label
(b) EditText(Entry)
(c) PasswordField(Entry show=”*”)
(d) Button

To Design The login page using tkinter 
from tkinter import *
def LoginPage()
login_screen=Tk()
login_screen.title("Login")
login_screen.geometry("300x250")
Label(login_screen, text="Please enter login details").pack()
Label(login_screen, text="").pack()
Label(login_screen, text="Username").pack()
username_login_entry = Entry(login_screen, textvariable="username")
username_login_entry.pack()
Label(login_screen, text="").pack()
Label(login_screen, text="Password").pack()
password__login_entry = Entry(login_screen, textvariable="password", show= '*')
password__login_entry.pack()
Label(login_screen, text="").pack()
Button(login_screen, text="Login", width=10, height=1).pack()
login_screen.mainloop()
LoginPage()
Click Here

Video/ C Introduction

Watch video in full size