Czy możesz mi pomóc, co jest nie tak.
Rejestrowanie w Pythonie typeerror
import logging if (__name__ == "__main__"): logging.basicConfig(format='[%(asctime)s] %(levelname)s::%(module)s::%(funcName)s() %(message)s', level=logging.DEBUG) logging.INFO("test")
I nie mogę go uruchomić, mam błąd:
Traceback (most recent call last): File "/home/htfuws/Programming/Python/just-kidding/main.py", line 5, in logging.INFO("test") TypeError: 'int' object is not callable
Dziękuję bardzo.
Czy ten cały kod? – Matt