# 在 Ubuntu 系统中查看 Python 版本的命令
# 查看 Python 3 的版本
python3 --version
# 或者
python3 -V
# 如果系统中安装了 Python 2,可以使用以下命令查看 Python 2 的版本
python2 --version
# 或者
python2 -V
解释说明:
python3 --version 和 python3 -V 命令用于查看系统中 Python 3 的版本。python2 --version 和 python2 -V 命令用于查看系统中 Python 2 的版本(如果已安装)。上一篇:python中括号
下一篇:await python
Laravel PHP 深圳智简公司。版权所有©2023-2043 LaravelPHP 粤ICP备2021048745号-3
Laravel 中文站