怎么在命令行窗口运行python -V?
在命令行运行python -V的步骤如下:
1、在win10系统上使用组合键WIN + R ,启动运行窗口,在运行窗口中输入cmd ,点击确定按钮
2、启动一个cmd命令行窗口
3、在cmd命令行窗口中输入python -V,有下图所示的回显,说明python3的环境已经安装到电脑上了,可以运行python脚本。
python -V的功能如下:
python -V (大写)与 python –version 功能相同,是将 python 版本打印并退出 python。
来源:PY学习网:原文地址:https://www.py.cn/article.html