简体   繁体   中英

how can i vscode run python without terminal command

Is there a way to run Python in Vscode terminal without command?

current result当前结果

want result想要结果

I've also tried changing the run console from terminal to debug console in Launch.json, but it's not a good way because it's not set globally and don't get key input. Is there a good way?

And apart from this question, is there any way to get the finished time print like when running Python on a sublime? I think it's too inefficient to take a final time for each python code.

在此处输入图像描述

Right click "Run main.py"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM