Pathlib exclui o arquivo oculto

[path for path in p.glob('**') if not any(part.startswith('.') for part in path.parts)]
Crowded Civet