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)
| 401 | |
| 402 | |
| 403 | def 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 | |
| 418 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…