menü erstellt
This commit is contained in:
parent
a53e521a8f
commit
17947f8432
2
GUI.py
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
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()
|
Loading…
x
Reference in New Issue
Block a user