0

I am trying to run two Python Scripts when PyCharm Professional Opens. Ideally, the program would not run in the PyCharm console. Any help would be much appreciated.

1
  • Please check if Startup Tasks to execute some stuff on project opening: stackoverflow.com/a/35279889/783119. If you can run such script using any of the Run/Debug Configurations, then it should do the job. Commented Jul 27, 2020 at 11:23

1 Answer 1

0

Running two python files on the PyCharm Professional easy.

For instance:

This is my first main.py file:

enter image description here

Then I right-click on the PyCharm Professional, open the 2nd project

enter image description here

PyCharm asks me:

enter image description here

Click on the New Window button. Now you have two windows next to each other:

enter image description here

You can either run or debug both of them at the same time.

enter image description here

From above you can see, PyCharm executes both files at the same time.

You can also do this in the same project or you can run or debug multiple projects at the same time

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.