python3 find location of modules code example Example: python find location of module import mymodule mymodule.__file__