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?