# option a import os print(os.environ['PYTHONPATH'].split(os.pathsep)) # option b import sys print(sys.path)
python -c "import sys; print(sys.path)"