Python platform.python_implementation()














































Python platform.python_implementation()




Description: 

Python has a specification for a language that can be implemented in many different ways. The python_implementation() identifies the python implementation. 

Syntax:

platform.python_branch()

No arguments are required.

Return Value:

It returns a string. The possible outputs of this function are Jython, PyPy, CPython, IronPython. The default implementation of the Python programming language is CPython.


Example: Program to display the python implementation.


#import module
import platform
#displaying python implementation
print("Python implementation:",platform.python_implementation())


Output:  


Comments