def askfloat(title, prompt, **kw):
 d = _QueryFloat(title, prompt, **kw)
 return d.result

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