1import tkinter as tk #We'll use tkinter
2
3class main: #This will be the main class
4 def __init__(self,master):
5 master.title('Simple Interface') #This is the title of the window
6 master.geometry('1200x700+0+0') #You can utilize +300+300 for example
7 #So now you can change the position of
8 #Your window
9
10if __name__=='__main__':
11 master = tk.Tk() #Master is the name of our window
12 main = main(master)
13 master.mainloop #We're creating the loop