Adding upstream version 3.0.16.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
51316093cf
commit
0014608abc
52 changed files with 7417 additions and 0 deletions
15
examples/python-input.py
Executable file
15
examples/python-input.py
Executable file
|
@ -0,0 +1,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()
|
Loading…
Add table
Add a link
Reference in a new issue