python版本查询命令

2023年5月20日09:52:59Python评论0 views

如何查看Python版本?执行命令python -V或python --version即可查询当前使用的Python版本。文章源自新手站长网-https://www.xinshouzhanzhang.com/pythonversion.html

python版本查询命令

Python

查询Python版本命令

执行命令:python -Vpython --version文章源自新手站长网-https://www.xinshouzhanzhang.com/pythonversion.html

命令执行后返回结果:文章源自新手站长网-https://www.xinshouzhanzhang.com/pythonversion.html

Python 3.3.2

也可以进入Python的交互式编程模式,查看版本:文章源自新手站长网-https://www.xinshouzhanzhang.com/pythonversion.html

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://www.xinshouzhanzhang.com/pythonversion.html

文章源自新手站长网-https://www.xinshouzhanzhang.com/pythonversion.html

【腾讯云618特价】:2核2G3M 95元一年、2核2G4M 112元1年 396元3年、2核4G5M 168元/年 628元3年、4核8G12M 446元一年 更多配置8核16G18M和16核32G28M 点我直达 >>

2023阿里云618活动在阿里云百科:aliyunbaike.com/go/618

注意:以上特价轻量服务器限制条件为“产品首单特惠”,如果你的腾讯云账号已经是老用户,建议重新注册一个腾讯云账号,如果你是新用户符合条件,那么无脑入,确实值得。