1.安裝vscode
https://code.visualstudio.com/
2.安裝python3(macos自帶2.7,不過咱們選擇不用他!)
https://www.python.org/downlo...
3.打開vscode,安裝python擴展python
4.安裝lintermacos
直接點install自動安裝,安裝完之後就會有代碼提示和自動填充了json
5.spa
打開setting.json文件,搜索python.pythonPath,在右邊工做區設置裏添加"python.pythonPath": "/usr/local/bin/python3"
debug
6.調試
選擇debuger配置器,選最後一個external terminalcode
7.本身寫個程序,開始調試吧ip