Python Pathlib Get Parent Directory Python Code For Snake