I am using subprocess.Popen()
to execute python scripts inside other python scripts, but for some reason, a cmd window appears as a subprocess as well. I wanted to know how to remove it. I know there are multiple questions about this topic (like this one), but I was unable to make it work, mainly because the slot I'm using to stop that cmd window from appearing is the same one I'm using to call the python script (Also, I'm new to the subprocess library, so I don't know any workarounds or any alternative libraries I can use)
This is the line of code I'm using
subprocess.Popen("Example.pyw", shell=True)