0

I have two folders, 1 and 2. Each folder has a Python file with the same name: 220_beta_1e-2_47_53ND.py. How do I run both the Python files simultaneously on different consoles? I mostly use Spyder.

user19862793
  • 169
  • 6

1 Answers1

0

on powershell (replace XYZ with your python version)

 Invoke-Item C:\PythonXYZ\python.exe pathtoscript1; Invoke-Item C:\PythonXYZ\python.exe pathtoscript2; 

or rather create a third script in python that launches 2 processes

Axeltherabbit
  • 680
  • 3
  • 20