On simplegui I want there to be an input box called login_gui that puts the data from the input into the variable login_variable, not into a defined function.
import simplegui
frame = simplegui.create_frame("screen", 500, 500)
login_gui = frame.add_input("Login?", login_variable, 20)
..something with login_variable
Is there any way to do this, or is it only with defined functions that this works?
I don't know. But using tkinter or pyside is very simple and then you have all options avaliable.
updated with an example
Basically pyside is better, but tkinter works out of the box. If you just want a simple gui, just use tkinter