Add a directory to Python sys.path so that it’s included each time I use Python

Simply add this path to your PYTHONPATH environment variable. To do this, go to Control Panel / System / Advanced / Environment variable, and in the “User variables” sections, check if you already have PYTHONPATH. If yes, select it and click “Edit”, if not, click “New” to add it.

Paths in PYTHONPATH should be separated with “;”.

Leave a Comment