簡體   English   中英

如何在VS碼終端顯示Python output

[英]How to Display Python output in VS code terminal

So.. whenever i try running Python codes in Vs code the output isn't shown in terminal part but the output part, can someone tell me how to make the output visible in terminal part plss

在 VS Code 中運行代碼默認在TERMINAL面板中輸出結果。

在此處輸入圖像描述

您是否下載並安裝了Code Runner擴展? 並使用它帶來的運行代碼選項運行代碼

如果是這樣,請將以下配置添加到您的settings.json文件中,這將使Code Runner運行代碼並在TERMINAL面板中運行 output 的結果。

    "code-runner.runInTerminal": true,

在此處輸入圖像描述

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM