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
In addition to using a raw string (prefix string with the r character), the os.path module may be helpful to automatically provide OS-correct slashes when building a pathname.