HOW TO FIND WHERE PYTHON IS INSTALLED IN WINDOWS

  • To find where the python is installed in windows, just open your python editor or interpreter, import os and sys module and just type the following code in python editor or interpreter. 
  • The following code prints the location of the python as a output.

Program : 

import os
import sys
path = os.path.dirname(sys.executable)
print(path)

Comments

Popular posts from this blog

MOTION DETECTION AND TRACKING USING OPENCV AND PYTHON

BASIC HAND TRACKING USING PYTHON

COLOR DETECTION USING OPENCV AND PYTHON