os.path.exists() Python中的method方法用於檢查指定的路徑是否存在。此方法還可用於檢查給定的路徑是否引用了打開的文件描述符。 用法: os.path.exists(path).
確定! 回上一頁