Python platform.python_compiler()














































Python platform.python_compiler()




Description: 

    The python_compiler() returns a string that identifies the compiler used for compiling the python program.


Syntax:

platform.python_compiler()

No parameters are required.


Example: Program to display the python compiler.


#import module
import platform
#displaying python compiler
print("Python compiler:",platform.python_compiler())


Output:  


Comments