summaryrefslogtreecommitdiffstats
path: root/examples/python-input.py
blob: d586d0f5b2250af09eeb68405b7d0e0da84ce161 (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()