how to open a cmd window with a command in it python code example
Example: python code to open windows command prompt
import os
def mycmd():
os.system('cmd /c "ipconfig"')
mycmd()
import os
def mycmd():
os.system('cmd /c "ipconfig"')
mycmd()