今天在寫python 程式時,很自然的把home directory 下的目錄寫成~/xxx,. 結果發現找不到:. >>> import os >>> os.path.exists("~/Build") False.
確定! 回上一頁