1
0
Fork 0
ptpython/examples/python-input.py
Daniel Baumann 51331ec610
Adding upstream version 3.0.27.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 18:34:08 +01:00

15 lines
218 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()