Add Log File and Email to Python Script

Discussion created by boyle.matt on Dec 14, 2013
Latest reply on Jan 23, 2015 by ghaskett
I'm pretty new to python and I'm wondering if it's easy to insert code to create a log file (.txt) of the geoprocessing? And I'm also wondering if it's possible to attach the .txt file in an email as part of the script?

I could live without the email, but the log file is something I'm really curious about.

Thanks in advance!