我們可以使用Python標準庫提供的logging API來處理。相比print,logging ... logging.log(level, args, *kwargs), 建立一條嚴重級別為level的日誌記錄.
確定! 回上一頁