Python Zdobądź ścieżkę pakietów

path = os.path.dirname(a_module.__file__)