Vscode中运行python:(operation python in Vscode)

Vscode:

——扩展中下载并安装Python ——You can download and install Python plug-in in extend——
VsCode中的Python(1)——Python in VsCode

新建一个文件:——construct a file——

——测试 ——test——
键入:print(Hello world!)——print :input( Hello World!)
shift+crtl+p:键入 Python:Select Interpreter——shift+crtl+p:input Python:Select Interpreter

安装扩展 :code runner(一键运行代码)

VsCode中的Python(1)——Python in VsCode

运行代码

点击Run Code——click Run Code——
VsCode中的Python(1)——Python in VsCode
可在输出界面得到结果——you can get the result in output interface——
VsCode中的Python(1)——Python in VsCode

相关文章:

  • 2022-12-23
  • 2021-04-29
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2021-08-25
  • 2021-06-07
  • 2021-11-02
  • 2022-01-04
  • 2022-12-23
相关资源
相似解决方案