utils.py 266 B

12345678910
  1. # This Python file uses the following encoding: utf-8
  2. # @author runhey
  3. # github https://github.com/runhey
  4. from pathlib import Path
  5. def get_work_path() -> Path:
  6. """
  7. 返回程序工作的目录如果没有问题的就是根目录
  8. """
  9. return Path.cwd()