SyntaxFix
Write A Post
Hire A Developer
Questions
sys.path might include items that aren't specifically in your PYTHONPATH environment variable. To query the variable directly, use:
sys.path
PYTHONPATH
import os try: user_paths = os.environ['PYTHONPATH'].split(os.pathsep) except KeyError: user_paths = []