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.
-
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.LazyOne– LazyOne2020-07-27 11:23:05 +00:00Commented Jul 27, 2020 at 11:23
Add a comment
|
1 Answer
Running two python files on the PyCharm Professional easy.
For instance:
This is my first main.py file:
Then I right-click on the PyCharm Professional, open the 2nd project
PyCharm asks me:
Click on the New Window button. Now you have two windows next to each other:
You can either run or debug both of them at the same time.
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




