摘要: import time cur_path = os.path.dirname(os.path.realpath(__file__)) # log_path是存放日志的路径 log_path = os.path.join(os.path.dirname(cur_path), 'logs') if not os.path.exists(log_path): os.mkdir(log_path) ... 阅读全文
posted @ 2019-04-01 14:13 Buscar 阅读(166) 评论(0) 推荐(0) 编辑