How to extend Class with module in Python?

后端 未结 0 1875
离开以前
离开以前 2021-01-17 20:02

I\'m trying to extend a class with logging module. Here is my code:

import logging

class Log:
    def __init__(self):
        logging.basicConfig(level=loggi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题