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