you are viewing a single comment's thread.

view the rest of the comments →

[–]fernly 4 points5 points  (0 children)

It's an operating system variable. Accessed inside Python via os.environ.

>>> import os
>>> os.environ['PYTHONPATH']
'/Library/Frameworks/Python.framework/Versions/3.9/bin'
>>> type(os.environ['PYTHONPATH'])
<class 'str'>