visual studio code——运行python


 

How to run Python in Visual Studio Code

 

Getting Started with Python in VS Code

 

python教程

 

vs 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

 

 

查看python信息

 

 

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

 或者 右键:

 

命令行终端类型的选择

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM