If you're on Python 3.4+, you can also use pathlib module to get the home directory. example. from pathlib import Path print(Path.home()). raja.
確定! 回上一頁