How to Get the Prompt in Python
- 1). Open your Python script and go to the location where you want to get the Command Prompt.
- 2). Type "import os" and press "Enter."
- 3). Type "os.system("cmd.exe")" and press "Enter."
- 4). Save and close your script.
Source...