how to see what is inside a directory of a python package code example Example: python get packages path path = os.path.dirname(a_module.__file__)