How to Run a Python Program with Warnings Without Ignoring Them? or Best Way to Handle Warnings When

20 Replies, 1031 Views

OP here—thanks y’all!

Tried `logging.captureWarnings(True)` and it’s *way* cleaner than what I was doing.

Still gotta figure out how to python run program with warnings *without* spamming my logs, but this is a solid start.

Quick Q: Anyone know how to colorize warning output? Like, make ‘em stand out more?

Messages In This Thread



Users browsing this thread: 1 Guest(s)