Skip to content
Sign upLog in
Profile icon

shlobb13

@shlobb13
Repls
Community
shlobb13
shlobb13
shared a Post
2 years ago
5
repl process died unexpectedly
could someone help with this error msg? TIA import sys while True: print('Type exit to exit.') response = input() if response == 'exit': s
Automate the Boring Stuff with Python
Python
CodeLongAndPros
CodeLongAndPros
It's not an error, I believe that the exit code was given before it was expected, if you press C-d in the repl, it'll give that as well.2 years ago
Bookie0
Bookie0
first of all that isnt an error message. It just says that because you told the repl to quit with sys.exit() which means the program exits. If you dont want this, since this is a while True statement, instead of sys.exit(), use break which will do the same. Happy coding and hope this helps! =)2 years ago
shlobb13
shlobb13
thanks all2 years ago