mostrar pythonpath
# option a
import os
print(os.environ['PYTHONPATH'].split(os.pathsep))
# option b
import sys
print(sys.path)
Foolish Finch
# 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)"