'How do I tell VS Code to run my python file in the correct terminal?

In VS Code, I have two terminals open. In one of them, I have python activated (as I like to tinker with my python code). The problem is, when I attempt to run my python file, VS Code tries to execute it in that terminal (the one with python activated), so the file obviously does not run.

enter image description here

Is there a way to fix this annoying behavior?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source