Answers for "python cmd command os"

5

how to execute a cmd command in python

CMD /K - execute a command then remain

import os
os.system('cmd /k "Your Command Prompt Command"')
Posted by: Guest on July-30-2020
1

command for python shell

write python and press enter in terminal. 

A Python Prompt comprising of three greater-than symbols >>> appears.
Posted by: Guest on October-07-2021

Python Answers by Framework

Browse Popular Code Answers by Language