how to find location of module using python terminal code example Example: find location of library python linux import module_name print(module_name.__file__)