cabbage dude
cabbage dude

Reputation: 71

Pycharm running in different console

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

Answers (1)

Giacomo Catenazzi
Giacomo Catenazzi

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

Related Questions