Reputation: 71
I am using pycharm recently and one day I accidentally clicked something and now when I press F5 which I set to running the program, it shows up like this.
How do I change it back to when I run my program, it does the finished with exit code 0, like this?
I get my expected results for different programs but not for this one.
Upvotes: 1
Views: 530
Reputation: 9523
Check your run setting.
You have selected "run on Python console" (bottom part of options), so every run, it will open a new console and run within there your code.
Note: there is also the option "Allow parallel run" on very top. This has a similar effect but without giving you the console prompt.
Upvotes: 1