agent: Create `file_utils.py` and add `expand_path()` to it

This commit is contained in:
Shreya 2021-07-06 19:07:53 +05:30
parent e91d7a6282
commit f8a062876c
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import os
def expand_path(path: str) -> str:
return os.path.expandvars(os.path.expanduser(path))