So, I have two files that does some pretty simple calculations let's say. so if I wanna check if they are working, I open 2 cmds and type their names and they run properly, and it does what I wanted to do.
Now I want to create a main.py, which should help me with this process of opening two new cmds, so what i want to do is run only the main.py file which should by itself open 2 new windows for the file1.py and file2.py .xD
so, here is my main.py ...
import subprocess
subprocess.Popen(["python", r"F:\Coding\python\file1.py"])
subprocess.Popen(["python", r"F:\Coding\python\file2.py"])
What this does is just do the calculations and print in the same window. I want it to open a new cmd. What should I do?