os.system('pause') on windows not working in pycharm
i have a line at the end of my script
os.system('pause')
that on windows OS displays in the console in pycharm as "Press any key to continue . . . "
yet in the console tab in debug, i can't seem to press any key to continue and i have to end up clicking Stop from the Run menu in PyCharm which forces my program to exit with -1 :(
is there some setting i need to change in PyCharm so that i can cleaning press any key to have it exit properly ? this works fine in window cmd line window but just not in PyCharm
Please sign in to leave a comment.