expanduser() method in Python is used to expand an initial path component ~( tilde symbol) or ~user in the given path to user's home directory.
確定! 回上一頁