'How should I set an interpreter in Pycharm?

First of all, there are two Python files in the directory in total. and I tried to run those two, but it kept showing only one result of the file named "hello.py". If I want to see the result of the other, I have to change the"script path" to the file's name. How do I resolve this problem? I want to see all the results without changing the script path one by one. Thank you.

enter image description here



Solution 1:[1]

You can achieve this by:

  1. Opening the file
  2. Right clicking
  3. Pressing run file

So, you can run them all individually like that and then scroll through the terminal to see all of the outputs.

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 Anye