I am able to open cmd.exe using script
import subprocess
subprocess.call("C:\Windows\System32\cmd.exe",shell=True)
But I am unable to send input command to cmd.exe open. I want to achieve something like below mentioned using script
1) script give input command like python
to cmd.exe open
2) After that script give input command like print "hello"
to python prompt comes