We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 636520b + b59931c commit 4c8203fCopy full SHA for 4c8203f
piduck.py
@@ -1,5 +1,6 @@
1
#!/usr/bin/env python3
2
import argparse
3
+import readline
4
from importlib import import_module
5
from time import sleep
6
import sys
@@ -115,8 +116,9 @@ def main():
115
116
else:
117
while True:
118
try:
- line = input()
119
+ line = input("d# ")
120
except EOFError:
121
+ print("EOF")
122
break
123
if not line:
124
@@ -172,5 +174,6 @@ def main():
172
174
173
175
main()
176
except KeyboardInterrupt:
177
178
pass
179
exit(0)
0 commit comments