0

Type in a new Command Prompt - Python

Using python code I have been able to type in Command prompt, open new windows ( of Command Prompt), but I need a way, using python code, to open a Command Prompt window and then type in that, all using code. - Thanks !

7th Sep 2018, 11:29 PM
Carson
Carson - avatar
2 Respuestas
0
You can: import os os.system('dir c:\\')
8th Sep 2018, 12:07 AM
Ruben Rodriguez
Ruben Rodriguez - avatar
0
But that does not open a new window of conmand prompt.
8th Sep 2018, 12:50 AM
Carson
Carson - avatar