1. 首页
  2. Python

python版本查询命令

如何查看Python版本?执行命令python -V或python –version即可查询当前使用的Python版本。

Python

Python

查询Python版本命令

执行命令:python -Vpython --version

命令执行后返回结果:

Python 3.3.2

也可以进入Python的交互式编程模式,查看版本:

Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32
Type “copyright”, “credits” or “license()” for more information.
>>>

阿里云官方活动:https://t.aliyun.com/U/FzmsXA

腾讯云官方活动:https://curl.qcloud.com/oRMoSucP