summaryrefslogtreecommitdiffstats
path: root/examples/python-input.py
blob: 567c2ee62c949724a5f727609d81de79e979cc6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python
"""
"""
from ptpython.python_input import PythonInput


def main():
    prompt = PythonInput()

    text = prompt.app.run()
    print("You said: " + text)


if __name__ == "__main__":
    main()