摘要:
#! /usr/bin/env python # coding=GBK import logging, os class Logger: def __init__(self, path, clevel=logging.DEBUG, Flevel=logging.DEBUG): self.logger = logging.getLogger(path) ... 阅读全文
posted @ 2018-06-04 14:50
zipon
阅读(270)
评论(0)
推荐(0)
摘要:
# coding=utf8 import requests from common.logger import Logger import logging class httpUtils: logger = Logger("../logs/http.log",logging.INFO,logging.INFO) def get(self,url,params={},header... 阅读全文
posted @ 2018-06-04 14:49
zipon
阅读(1676)
评论(0)
推荐(1)

浙公网安备 33010602011771号