blob: 63ea12ceff60cfa8ddf2afbc9447603f1011805c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env python
"""
The most simple prompt example.
"""
from __future__ import unicode_literals
from prompt_toolkit import prompt
if __name__ == '__main__':
answer = prompt('Give me some input: ')
print('You said: %s' % answer)
|