pyqt-todolist/utils/CreateToDoList.py
2022-04-17 17:25:35 +08:00

5 lines
103 B
Python

import os
print(os.environ['HOME'])
print(os.path.expandvars('~'))
print(os.path.expandvars('$HOME'))