How can use shell cmd on python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can use shell cmd on python?

python programming

1st Jan 2017, 7:46 AM
mohsen sh
mohsen sh - avatar
2 Answers
+ 3
read about os.system() https://docs.python.org/2/library/os.html#os.execv or subproces https://docs.python.org/2/library/subprocess.html
1st Jan 2017, 11:46 AM
Ramin Najjarbashi
Ramin Najjarbashi - avatar
31st Aug 2017, 2:58 PM
Corey
Corey - avatar