The source (path to its file location) of an imported module can be by looking at module.__file__.
module.__file__
Tags: coding location