如何找出Python安装中的VM?
我在我的电脑上安装了Python。如何找到它附带的VM 是cpython还是ipython还是jpython如何找出Python安装中的VM?,python,virtual-machine,Python,Virtual Machine,我在我的电脑上安装了Python。如何找到它附带的VM 是cpython还是ipython还是jpython import platform platform.python_implementation() 从文件中: platform.python_implementation() Returns a string identifying the Python implementation. Possible return values are: ‘CPython’,
import platform
platform.python_implementation()
从文件中:
platform.python_implementation()
Returns a string identifying the Python implementation.
Possible return values are: ‘CPython’, ‘IronPython’, ‘Jython’, ‘PyPy’.
platform.python_实现()
返回标识Python实现的字符串。
可能的返回值为:“CPython”、“IronPython”、“Jython”、“PyPy”。
在命令提示符下运行此命令
python-c“从平台导入python_实现;打印python_实现()”iPython不是一个VM,而是一个增强的交互式解释器。true。我的问题应该是“如何找出哪个实现运行我的python程序。”请学习缩进-查看编辑下的预览