How Does Python Find Installed Packages?
The quick answer is that it creates a list of places to search. The resulting list is sys.path. For example: If you need to add a package so it can be found by Python, see How to Add a Package so Python Can Find it. The Three Parts of sys.path sys.path is made up of…