blob: c13a690da23a593ba9702b49673a660e0a38d877 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env python
"""
Demonstration of how the input can be indented.
"""
from __future__ import unicode_literals
from prompt_toolkit import prompt
if __name__ == '__main__':
answer = prompt('Give me some input:\n > ', multiline=True)
print('You said: %s' % answer)
|