python+viscode环境安装

首先 先安装python。python的版本不用太新、防止一些库不能用

1 python文件

https://www.python.org/downloads/release/python-3115/

post image
post image

安装完毕。在cmd中查看安装情况

     win+r 输入cmd

post image
post image

安装

visualstudio

https://code.visualstudio.com/

基本上一路next就行、打开visualstudio。具体一些安装大家可以百度百度。

先安装一个汉化的以及python

post image
post image

打开一个文件夹、存放代码

post image

创建一个xx.py。python的脚本都是.py 格式

右下角确认下python版本是不是我们安装的

post image