This is the error I am getting:
Traceback (most recent call last): File \"E:\\stuff\\module.py\", line 91, in f = open(\'E:/stuff/log.tx
Since it is windows, and the backslash is a escape character, you must double the backslash to escape it. Try
e:\\stuff\\log.txt