Python 小技巧
2018-02-13 本文已影响27人
JohnnyB0Y
1,Mac下 Visual Studio Code写Python3代码无法自动补全?
1)进入VSCode 设置项

2)搜索查找Python.py ,把 python 修改为 python3.6

3)有必要重启一下就有代码补全提示了。
2,找不到模块?查看有木有模块,安装就好。
1)命令行查找 $pydoc modules

2)没有就安装 $pip3 install 模块名

1)进入VSCode 设置项
2)搜索查找Python.py ,把 python 修改为 python3.6
3)有必要重启一下就有代码补全提示了。
1)命令行查找 $pydoc modules
2)没有就安装 $pip3 install 模块名