How to run Python in Visual Studio Code

 

Getting Started with Python in VS Code

 

python教程

 

vs code 安装python扩展包

visual studio code——运行python

 

 下载python包

# Don't use with Anaconda distributions because they include matplotlib already.

# macOS
sudo python3 -m pip install matplotlib

# Windows (may require elevation)
python -m pip install matplotlib

# Linux (Debian)
sudo apt-get install python3-tk
python3 -m pip install matplotlib

 visual studio code——运行python

 

查看python信息

 visual studio code——运行python

 

 运行python代码 ,以及查看运行结果

visual studio code——运行python

 或者 右键:

visual studio code——运行python

 

命令行终端类型的选择

visual studio code——运行python

 

visual studio code——运行python

 

相关文章:

  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-09-07
  • 2021-08-28
  • 2021-06-04
  • 2021-11-05
猜你喜欢
  • 2021-07-10
  • 2022-12-23
  • 2021-12-05
  • 2021-06-18
  • 2022-02-20
  • 2021-10-22
相关资源
相似解决方案