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
Firstly, from above, Windows supports / just fine.
Secondly: Well, if you look at your file, you'll notice it's not log.txt, it's log.txt.txt... You may see it as "log.txt" in your graphical folder viewer (as opposed to the CLI "dir" command) simply because it hides the known file extensions.
I recommend you disable this - see folder options, there should be an option "Hide extensions of known file types" (or similar).