Python Library Path

Python Library Path

You can also make additions to this path with the PYTHONPATH environment variable at runtime, in addition to:

import sys
sys.path.append(/home/user/python-libs)

I think youre looking for sys.path

import sys
print (sys.path)

Python Library Path

import sys
sys.path

Leave a Reply

Your email address will not be published. Required fields are marked *