Answers for "display pythonpath linux"

0

show pythonpath

# option a
import os
print(os.environ['PYTHONPATH'].split(os.pathsep))

# option b
import sys
print(sys.path)
Posted by: Guest on September-08-2021
0

display pythonpath linux

python -c "import sys; print(sys.path)"
Posted by: Guest on October-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language