#πŸ”’ nothing showing up in the log file

15 messages Β· Page 1 of 1 (latest)

true delta
#
import logging
c = 5
print(c)
#logging.basicConfig(leve=logging.info, format= "%(asctime)s - %(levelname)s - %(message)s", datefmt = '%Y-%m-%d %H-M%-%S',filename = "basic", filemode = "w")
#.info(f"there`s {c} c`s")
def main():
 logging.basicConfig(
    leve=logging.info,
    format="%(asctime)s - %(levelname)s - %(message)s",
    datefmt='%Y-%m-%d %H:%M:%S',
    filename="basis",
    filemode="w"
)
logging.info(f"there`s {c} in the thing")
light tulipBOT
#

@true delta

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

true delta
worthy lantern
worthy lantern
#

.INFO is the numerical constant

sturdy pagoda
true delta
#

NVM

#

sorry guys

#

i made a silly mistake

#

sorry for wasting ur time

light tulipBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.