This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| from tkinter import ttk | |
| from tkinter.messagebox import showinfo | |
| def message(): | |
| if len(var1.get()) !=0 and len(var2.get())!=0: | |
| showinfo("Message", f"Your are successfully login!") | |
| else: | |
| showinfo("Message", f"Please Enter the correct username and password") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| from tkinter import ttk | |
| window = Tk() | |
| #Setting the size of the window | |
| window.geometry('350x200') | |
| window.title("Welcome to Tkinter") | |
| #username |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| from tkinter import ttk | |
| window = Tk() | |
| #Setting the size of the window | |
| window.geometry('350x200') | |
| window.title("Welcome to Tkinter") | |
| lbl = Label(window, text="Python", font=("Arial Bold", 30)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| from tkinter import ttk | |
| #function call | |
| def Btn_function(): | |
| print("Button is pressed!") | |
| window = Tk() | |
| #Setting the size of the window | |
| window.geometry('350x200') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| from tkinter import ttk | |
| window = Tk() | |
| #Setting the size of the window | |
| window.geometry('350x200') | |
| window.title("Welcome to Tkinter") | |
| lbl = Label(window, text="Python", font=("Arial Bold", 30)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| from tkinter import ttk | |
| window = Tk() | |
| #Setting the size of the window | |
| window.geometry('350x200') | |
| window.title("Welcome to Tkinter") | |
| lbl = Label(window, text="Python", font=("Arial Bold", 30)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| window = Tk() | |
| #Setting the size of the window | |
| window.geometry('350x200') | |
| window.title("Welcome to Tkinter") | |
| lbl = Label(window, text="Python", font=("Arial Bold", 30)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tkinter import * | |
| window = Tk() | |
| #Setting the size of the window | |
| window.geometry('350x200') | |
| window.title("Welcome to Tkinter") | |
| window.mainloop() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #importing modules | |
| from tkinter import * | |
| window = Tk() | |
| window.title("Welcome to Tkinter") | |
| window.mainloop() |