Python: Module Search Paths
Python module search paths is stored in the variable sys.path
.
import sys print(sys.path) # ['c:\\Users\\xah\\.emacs.d\\temp', # 'C:\\Python39\\python39.zip', # 'C:\\Python39\\DLLs', # 'C:\\Python39\\lib', # 'C:\\Python39', # 'C:\\Python39\\lib\\site-packages']