I have a script that runs at evening, it writes to a log file as it runs, and once the task completes, the text it writes is also emailed to me. Sometimes the task can fail, what I want to happen is when I get the email, the line with the error is red and bold.
So my question is, can Python format text to a certain font or color if certain conditions are met? If so, are there any good examples?
Thanks!