That could be because python treats \
as an escape symbol and you have a combination that is really an escape symbol for E: disk path.
It might be solved in one of the following ways:
- Raw string literals:
r"E:\blah\blah\blah"
(the backslashes are not treated as escape symbols). - Double-backslashes:
"E:\\blah\\blah\\blah"
(escape symbols are escaped by themselves). - Slashes
"E:/blah/blah/blah"
(this works on Windows too).