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

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