SyntaxFix
Write A Post
Hire A Developer
Questions
I found that pathlib module also supports this.
from pathlib import Path >>> Path.home() WindowsPath('C:/Users/XXX')