Let\'s say Python is installed in the location
C:\\TOOLS\\COMMON\\python\\python252
I want to print this location in the outpu
Try:
>>> import sys >>> print sys.prefix
See the documentation for the sys module for more details.