def askstring(title, prompt, **kw):
 d = _QueryString(title, prompt, **kw)
 return d.result

def askstring ( title , prompt , ** kw ) : d = _QueryString ( title , prompt , ** kw ) return d . result
get a string from the user arguments: title -- the dialog title prompt -- the label text **kw -- see simpledialog class return value is a string .