menü erstellt

This commit is contained in:
Domenik Rath 2023-08-07 09:19:47 +02:00
parent a53e521a8f
commit 17947f8432
2 changed files with 13 additions and 1 deletions

2
GUI.py

@ -1,7 +1,7 @@
from tkinter import *
from tkinter import messagebox
root = Tk()
root.geometry("900x900")
root.geometry("900x500")
punkte1 = 0

12
Menü.py Normal file

@ -0,0 +1,12 @@
from tkinter import *
import subprocess
root = Tk()
root.geometry("900x500")
def vs():
subprocess.call("GUI.py", shell=True)
Label(root, text="Schere, Stein, Papier", font=("times",30)).grid(column=3)
Label(root, text="Menü", font=("times", 30)).grid(row=1, column=3)
Button(root, text="1 VS 1", command=vs, font=("times", 30)).grid()
root.mainloop()