1

Is there a simple way, like one command, that will enable me to find what Python implementation I am using (CPython, JPython, etc.)?

Rohan
  • 482
  • 6
  • 16

1 Answers1

6

Use platform.python_implementation():

>>> import platform
>>> platform.python_implementation()
'CPython'
Burhan Khalid
  • 169,990
  • 18
  • 245
  • 284