diff --git a/test_gui.py b/test_gui.py index f6aed87..7a92dfe 100644 --- a/test_gui.py +++ b/test_gui.py @@ -7,8 +7,9 @@ cpusVar = tk.StringVar(w) cycVar = tk.StringVar(w) N_tsVar = tk.StringVar(w) T_cycVar = tk.StringVar(w) -settings = 0 +settings=[] def getvars(): + global settings p_name = p_nameVar.get() cpus = cpusVar.get() cyc = cycVar.get() @@ -36,3 +37,5 @@ button = tk.Button(w, text="Get vars", command=getvars).grid(row=5) w.mainloop() + +print(settings)