我见过两种使用命令行打开 python 脚本的方法,它们是:
python foo.py
和
python3 foo.py
我知道,有 python2 等,但是python没有版本会做什么,为什么我最近看到它?
python
python command-line python3
command-line ×1
python ×1
python3 ×1