GUI Python
import tkinter as tk
#Importing the main module
window = tk.Tk()
window.mainloop()
Outstanding Ox
import tkinter as tk
#Importing the main module
window = tk.Tk()
window.mainloop()
# main library is tkinter so lets go
import tkinter as tk
root = tk.Tk()
#root.geometry("widthxheight+spcefromleft+spacefromright") lets set h and w
root.geometry("500x200+0+0")
# loop your window
root.mainloop()
import pygame
pygame.init()
W, H = 900, 500
WIN = pygame.display.set_mode((W, H))
run = True
while run:
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
pygame.quit()