www.quora.com/How-can-I-use-Pycharm-to-run-two-Python-programs-simultaneously

You have 2 solutions.

One is to run your Python program in one instance of PyCharm, and then use a new instance to open your other program, and run it there.

You simply do it by doing File->Open, and select the Project. It will ask you whether you want to have it open in the same, or in the new window.

If you have programs that are not GUI based, you can also open two terminals, and run a program simply by typing

 

  • ./yourProgram1/main.py 

 

into the first terminal, and

 

  • ./yourProgram2/main.py 

 

into your second one.

In the case you’re using macOS or Linux, and it won’t start, make sure to do

 

  • chmod a+x yourProgram1/main.py 

 

as well as for main of the second program.

For Windows -> How do I run a Python program in the Command Prompt in Windows 7? (Pretty much the same applies to Windows 10)

Cheers.

 

 

 

 

Posted by uniqueone
,