Reputation: 492
Is there a simple way, like one command, that will enable me to find what Python implementation I am using (CPython, JPython, etc.)?
Upvotes: 1
Views: 480
Reputation: 174622
Use platform.python_implementation()
:
>>> import platform
>>> platform.python_implementation()
'CPython'
Upvotes: 7