test_persistence.py 442 B

1234567891011121314151617181920212223
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. __author__ = "Christian Heider Nielsen"
  4. __doc__ = r"""
  5. Created on 23/09/2019
  6. """
  7. from pathlib import Path
  8. def test_resolve_expand_path():
  9. # file_path = input("Enter another file path: ")
  10. file_path = Path.home()
  11. model_save_path = Path(file_path).expanduser().resolve()
  12. print(model_save_path)
  13. if __name__ == "__main__":
  14. test_resolve_expand_path()