#SHELL CMD: python --version (to know the version of python)
#import Few modules to start playing
import sys as python #Using Alias
import os
#----- Print Python Version
print("Installed Python Version : " + python.version)
#----- Print Python executable path
print("Path of Python executable : " + python.executable)
#----- Print all builtin module names : returns a tuple
print(python.builtin_module_names)
#----- Print the path of any given module i.e. OS in this example
print("Installation Path of 'OS' Module: " + os.__file__)
#----- Print the path of current script
#It won't work on this online compiler. Please test on your env
#print("Path of Current Script: " + os.path.realpath(__file__))
#----- Know the central philosophy of Python
import this
Ask Vikas