For Python 3.5 or more,you can use pathlib.Path.home() which returns a new path object having the user's home directory.
確定! 回上一頁