Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prompt-toolkit/ptpython
/ main
Function
main
examples/python-input.py:7–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
6
7
def
main():
8
prompt = PythonInput()
9
10
text = prompt.app.run()
11
print(
"You said: "
+ text)
12
13
14
if
__name__ ==
"__main__"
:
Callers
1
python-input.py
File · 0.70
Calls
2
PythonInput
Class · 0.90
run
Method · 0.80
Tested by
no test coverage detected