As an organization, you may need to run Python scripts on a scheduled basis, such as through Windows Task Scheduler. However, determining whether a Python script executed successfully or encountered an error can be challenging. Monitoring the results can become quite cumbersome, especially when scripts are running frequently. Even with log file generation, consistently checking for errors can be inconvenient. The attached Logger.py file is designed to create log files and send an email notification in the event of an error. For a demonstration of how this can be utilized, please refer to the video below.