How do I suppress the console window when debugging python code in Python Tools for Visual Studio (PTVS)?

后端 未结 2 2096
礼貌的吻别
礼貌的吻别 2021-02-20 07:29

In PTVS the default behavior is for the program to print to the Python console window and the Visual Studio Debug Output window.

Realizing that it won\'t be able to acce

2条回答
  •  死守一世寂寞
    2021-02-20 07:56

    Use the Python Interactive Window (CTRL-ALT-F8 or Debug Menu). You will have the code output on the python interactive shell (where you can obviously interact). The win terminal will not appear anymore.

提交回复
热议问题