6、os.path.exists() 函式用來檢驗給出的路徑是否存在,返回值分別為Ture或False。 7、os.path.getsize(name) 獲得檔案大小,如果name是目錄返回0L.
確定! 回上一頁