打开命令行,输入安装的python版本,按如下步骤就可以开始python模式
比如:
➜ ~ python3.7
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print("222")
222
>>> 2+0
2
网友评论