我感觉人家写的已经很好了,我就不自己写了,我把我成功安装看过的教程链接放在下面,大家看下面的教程:
几个教程相互参考着看哦!
1个:
2个:
在vscode中配置python的安装环境
??????在vscode中配置python的安装环境_Littlehero_121的博客-CSDN博客_vscode配置python
3个:
这样用VS Code编写Python更方便
这样用VS Code编写Python更方便__Be_Water_的博客-CSDN博客
4个:
解决“no newline at end of file”
??????解决“no newline at end of file”_洛阳山的博客-CSDN博客
5个:
ERROR: Could not find a version that satisfies the requirement flake8 (from versions: none) ERROR: N
ERROR: Could not find a version that satisfies the requirement flake8 (from versions: none) ERROR: N_袁冬至的博客-CSDN博客
代码格式化工具yapf
在VSCode中按下快捷键Alt+Shift+F即可自动格式化代码
代码自动格式化工具yapf: Alt + Shift + F,第一次会在右下角出现提示安装yapf,点击yes或install 然后使用Alt + Shift + F 原来相连在一起换行没有空行的代码自动换行,分段:

|