8法VSCODE运行python代码(亲测可用)

  这里小虎介绍8种方法利用vscode运行python的代码,亲测有效,可以参考使用。请在配置好环境后展开。

  小技巧:在当前文件夹下,下面可以用vscode打开当前文件夹编程。

  Run method 1 method 2 method 3 method 4 method 5 method 6 method 7 method 8

  method 1