os.path.getsize('filename') #可使用絕對路徑或相對路徑 ... os.path.exists('filename') #回傳Ture/False 表示檔案目錄是否存在,可使用相對路徑.
確定! 回上一頁