forked from p15670423/monkey
agent: Create `file_utils.py` and add `expand_path()` to it
This commit is contained in:
parent
e91d7a6282
commit
f8a062876c
|
@ -0,0 +1,5 @@
|
||||||
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
def expand_path(path: str) -> str:
|
||||||
|
return os.path.expandvars(os.path.expanduser(path))
|
Loading…
Reference in New Issue