Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Create Screen using tkinter in python

Tags: subscribe

Welcome to EasyCoding with Ammara

Subscribe My Coding Channel:

https://www.youtube.com/channel/UC8UsfNYmbKiRJvI9ZhhApEw?view_as=subscriber

 

Subscribe my personal YouTube Channel:

https://www.youtube.com/channel/UCa93R2oNQMuX0fOKa9eV4zg?view_as=subscriber

 

Let's Start

def my_main_screen():
    global main_screen
    main_screen=Tk()
    main_screen.geometry("300x250")
    main_screen.title("Registration/login Screen")
    Label(text="My First Page!!! Select One", bg="purple", fg="white",height="2",width="300").pack()
    Label(text="").pack()
    Button(text="Login",height="2",width="29",bg="pink",fg="white", command=login).pack()
    Label(text="").pack()
    Button(text="Registration",height="2",width="30",bg="pink",fg="white",command=registration).pack()
    main_screen.mainloop()
my_main_screen()
    



This post first appeared on AR Programming, please read the originial post: here

Share the post

Create Screen using tkinter in python

×

Subscribe to Ar Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×