How to Get the Prompt in Python

104 12
    • 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...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.