MCPcopy Index your code
hub / github.com/python/cpython / askstring

Function askstring

Lib/tkinter/simpledialog.py:403–415  ·  view source on GitHub ↗

get a string from the user Arguments: title -- the dialog title prompt -- the label text **kw -- see SimpleDialog class Return value is a string

(title, prompt, **kw)

Source from the content-addressed store, hash-verified

401
402
403def askstring(title, prompt, **kw):
404 '''get a string from the user
405
406 Arguments:
407
408 title -- the dialog title
409 prompt -- the label text
410 **kw -- see SimpleDialog class
411
412 Return value is a string
413 '''
414 d = _QueryString(title, prompt, **kw)
415 return d.result
416
417
418if __name__ == '__main__':

Callers 2

loadfileMethod · 0.90
doitFunction · 0.85

Calls 1

_QueryStringClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…