使用logging在終端輸出日志,並保存日志到本地log文件. #!/usr/bin/env python. # -*- coding:utf-8 -*-. import logging # 引入logging模块.
確定! 回上一頁