Question

I have installed Python Tools for Visual Studio and I cannot see the output in the console window like I see output when I run a C# console application within visual studio upon hitting the following Shortcut keys.

F5 -- Starts debugging the program and closes the console window in c# and in Python
Ctrl+F5 -- Start without debugging, works as expected in C# but not in Python program. It always exits the console window under both the options.

There is a third option "Execute Project in Python Interactive" for a Python Application. This option sometimes produces output and sometimes does not.

What should I do to see the output in the console window and the windows should not close after running the program? Is this even possible or some conceptual difference for python console apps?

Am I doing something wrong here?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top