Pycharm scripts execute in different ways from different PCs - please help

Answered

Hi,

I want to ask about a problem, which I cannot really figure out how to resolve.

I have Pycharm Professional installed in two computers - the personal and the work one.

The issue is the following - when I run a Python script in my work PC the scripts executes in the Python console, not from the Run tool window as in was by default. The scripts run fine in my personal PC and I am wondering what happened and how I could fix that as I got used to running scripts in the default way.

Please see the following screenshots for better understanding:

- From my PC:

- And from my work computer:

Thank you for your help in advance!

Boris

1
3 comments

Hello, 

In the Run/Debug Configuration there is an option called "Run with Python console" in the Execution Section  , please check if it is enabled. https://www.jetbrains.com/help/pycharm/creating-and-editing-run-debug-configurations.html?s=quick

1
Avatar
Permanently deleted user

Thank you, Antonina. It worked :)

Greeting from Bulgaria,

Boris

0

Glad to know! 

Take care =) 

0

Please sign in to leave a comment.