How to execute python code in command prompt *window*?

Iam using sublime text 3 and want to execute my python code in command prompt.
This is my current build system:

{
"cmd": ["python", "$file"],
"selector": "source.python",
"file_regex": "^\\s*File \"(...*?)\", line ([0-9]*)"
}

But I want my program to open in command prompt window and show the result there. I dont want to see the result in sublime text. Please help.

How to execute python code in command prompt window Iam using sublime text 3 and want to execute my python code in command prompt This is my current build syste class=

Respuesta :

Answer:

Open Command Prompt and type “python” and hit enter. You will see a python version and now you can run your program there