61. sys.path: How Python finds the modules you import (lernerpython.com)
You say “import mymod”. Where does Python look? Check sys.path, a list of directory names (strings) where it searches. By default: – Current dir (empty string)– Standard library– site-packages The […] The post sys.path: How Python finds the modules you import appeared first on LernerPython.