Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to send a command to cmd using python

import os
# this command will be executed in cmd eg.echo hi
os.system("echo hi")
#output
#hi
 
PREVIOUS NEXT
Tagged: #send #command #cmd #python
ADD COMMENT
Topic
Name
9+6 =