Dateien nach "/" hochladen
This commit is contained in:
parent
da3d333ddf
commit
d901aee93c
19
GUI.py
Normal file
19
GUI.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
from tkinter import *
|
||||||
|
from tkinter import messagebox
|
||||||
|
root = Tk()
|
||||||
|
|
||||||
|
|
||||||
|
def ok():
|
||||||
|
name = s1_wert.get()
|
||||||
|
return messagebox.showinfo( f"", name)
|
||||||
|
|
||||||
|
|
||||||
|
Label(root, text="S = Schere, R = Stein, P = Papier ").pack()
|
||||||
|
|
||||||
|
s1_wert = Entry(root)
|
||||||
|
s1_wert.pack()
|
||||||
|
|
||||||
|
Button(root, text="Wählen", command=ok).pack()
|
||||||
|
|
||||||
|
|
||||||
|
root.mainloop()
|
Loading…
x
Reference in New Issue
Block a user