1
0
Fork 0
ptpython/examples/python-input.py
Daniel Baumann 0014608abc
Adding upstream version 3.0.16.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 18:23:09 +01:00

15 lines
217 B
Python
Executable file

#!/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()