I an running this code:
#!/usr/bin/python coding=utf8 # test.py = to demo fault def loadFile(path): f = open(path,\'r\') text = f.read() re
Use raw strings for Windows paths:
path = r'D:\work\Kindle\srcs\test1.html'
Otherwise the \t piece of your string will be interpreted as a Tab character.
\t