The python documentation for this is very dry, I was wondering if you guys could help me.
My goal is to make python execute commands that I would normally execute in the command prompt. (I'm running windows)
If I run
import subprocess
proc = subprocess.Popen("C:\Windows\system32\cmd.exe")
It opens the command prompt. Is there a way to get the program to write in something like "dir C"?