diff options
Diffstat (limited to 'python/testData/debug/test_input.py')
-rw-r--r-- | python/testData/debug/test_input.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/testData/debug/test_input.py b/python/testData/debug/test_input.py new file mode 100644 index 000000000000..5ac9bacbf418 --- /dev/null +++ b/python/testData/debug/test_input.py @@ -0,0 +1,7 @@ +while True: + promt = "print command > " + try: + string = raw_input(promt) + except : + string = input(promt) + print ("command was " + string)
\ No newline at end of file |